Results 1 to 4 of 4

Thread: InDesign-like functionality on sheets

  1. #1
    All AUGI, all the time
    Join Date
    2009-03
    Location
    Somerville, MA
    Posts
    692

    Default InDesign-like functionality on sheets

    So this has a few questions all-in-one. I'd like to get into the Revit API and the first place I'd like to start is an add-in that gives me InDesign-like functionality when dealing with sheets.

    Here's the problem I'd like to address: When dealing with design options, on a single sheet we might have quite a few 3d views (axon and perspective) and full-building elevations all with shadows on. It gets agonizingly slow to move or change anything.

    The idea/solution: I'd like to be able to turn off everything in each view (or at least model stuff) so I can arrange the views on the sheet quickly. I would like it to be a quick toggle.

    My questions:
    1. I know VBscript fairly well. Is there any big advantage to using C# or IronPython rather than VB?
    2. Since I don't know the Revit API, yet, what strategy would you recommend for this problem? For example, could I toggle the "Display Model" parameter for each view on the sheet to "Do Not Display" then toggle it back to "Normal" when I'm done? I've looked briefly at the Revit 2012 API help file and in the View class I don't see a View Member to affect the "Display Model" parameter.

    Any thoughts or suggestions are greatly appreciated.

  2. #2
    Certifiable AUGI Addict Dimitri Harvalias's Avatar
    Join Date
    2003-08
    Location
    Vancouver, BC Canada
    Posts
    3,419

    Default Re: InDesign-like functionality on sheets

    No API answer for you Damon but what's wrong with a simple view template? Assuming your views are set up on their own you apply the view template in the browser prior to placing them on sheets, arrange away, close the sheet views and 'toggle' the views back to heir original settings in the browser. That's essentially what you'd be doing with a plug in, right?
    Even just setting the views to wireframe prior to placing them might speed things up enough.
    ____________________________
    Dimitri Harvalias LEED AP
    Summit BIM Consulting
    BIMblog.ca
    I was never just a CAD monkey, so I refuse to be a BIMpanzee!
    A BIM without the 'I' is just a BM - those in the medical profession know what that amounts to

  3. #3
    Member
    Join Date
    2011-11
    Location
    Wormhout, Nord, France
    Posts
    19

    Default Re: InDesign-like functionality on sheets

    For the choice of the language, in the context of Revit programming, we will find that most of the sample code is written in C#. So for copy and paste, it's a great advantage (note that you can find tools to convert to VB.NET like SharpDevelop, but it requires one additional step).

  4. #4
    All AUGI, all the time
    Join Date
    2009-03
    Location
    Somerville, MA
    Posts
    692

    Default Re: InDesign-like functionality on sheets

    Quote Originally Posted by Dimitri Harvalias View Post
    No API answer for you Damon but what's wrong with a simple view template? Assuming your views are set up on their own you apply the view template in the browser prior to placing them on sheets, arrange away, close the sheet views and 'toggle' the views back to heir original settings in the browser. That's essentially what you'd be doing with a plug in, right?
    Even just setting the views to wireframe prior to placing them might speed things up enough.
    Thanks, Dimitri. View templates would indeed work... if we were rigorous enough to have default view templates for every view. It's a good, workable solution, but comes with a level of view management we just don't have right now. However, you did make me think again about the "Display Model" parameter. I could select the views in the project browser nested in the Sheet, switch "Display Model" to none, work on the sheet, then switch it back. I'll try that.

    Quote Originally Posted by Maxence DELANNOY View Post
    For the choice of the language, in the context of Revit programming, we will find that most of the sample code is written in C#. So for copy and paste, it's a great advantage (note that you can find tools to convert to VB.NET like SharpDevelop, but it requires one additional step).
    Maxence, thank you for that thought. Very helpful. I've had trouble finding VB examples, so your suggestion may very well come true. It's a bummer since I already know VB syntax. I'll take a look at SharpDevelop, though. It may be worth the extra step to me.

    UPDATE: I found a workaround. I can select the views in the project browser under the sheet and change the phase and phase filter of the views. We aren't using phases, so I can just use existing. But if we were using phases, we could create one before existing for this purpose. It's a hack, but I'll take it!
    Last edited by damon.sidel; 2012-08-03 at 01:30 PM.

Similar Threads

  1. 2012: Sheet preview settings (like InDesign)?
    By cliff collins in forum Revit Architecture - General
    Replies: 2
    Last Post: 2012-08-03, 01:39 PM
  2. 2012: Export Revit Sheets to AutoCAD Sheets with External References
    By brian-kerry-smith in forum Revit - Platform
    Replies: 3
    Last Post: 2012-02-09, 07:35 PM
  3. Revit as InDesign replacement
    By Gordon.Price in forum Revit Architecture - General
    Replies: 7
    Last Post: 2008-06-30, 05:19 PM
  4. Plot a Multi-Sheet DWF with Landscape sheets and Portrait sheets
    By KansasCAD in forum Design Review - General
    Replies: 2
    Last Post: 2007-05-18, 06:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •