Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
Like Tree1Likes

Thread: Editing Multiple Families

  1. #1
    Member
    Join Date
    April 12, 2011
    Location
    Durban, South Africa
    Posts
    79
    Current Local Time
    11:34 PM

    Question Editing Multiple Families

    Hi All

    I am busy cleaning up my many families that I have collected over the last few years.

    I would like to open each family and do the following:
    1. Turn on Shaded for visual style for 3D Views: {3d}
    2. Orientate the {3d} view to front/top/right on the view cube
    3. Ensure that scale is set to 1:10 for {3d} view
    4. Ensure that the families Project Units are set to Millimeters
    5. Purge the file
    6. Compact the file
    7. Set thumbnail preview to 3D View: {3d}

    Is there any way to automate any of the above steps to speed up this process?

  2. #2
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,116
    Current Local Time
    07:34 PM
    It would require either a macro or API but I'm interested in a solution as well.

  3. #3
    Moderator
    "I am NOT a Revit tutor!"
    Dave Jones's Avatar
    Join Date
    December 7, 2010
    Location
    San Luis Obispo, California USA
    Posts
    4,486
    Current Local Time
    04:34 PM
    Quote Originally Posted by cellophane View Post
    It would require either a macro or API but I'm interested in a solution as well.
    I'd also be interested in a process to do this...It would be easy in Acad

  4. #4
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,116
    Current Local Time
    07:34 PM
    Quote Originally Posted by Dave Jones View Post
    I'd also be interested in a process to do this...It would be easy in Acad
    It would be nice if there was a way to make macros that didn't involve C# or .Net I never learned AutoLisp for the same reason.

    I downloaded a macro recorder for cleaning some files up but I had to sit there and watch it run every time I needed to do something.

  5. #5
    Member Bjorn_K's Avatar
    Join Date
    April 8, 2011
    Location
    Rotterdam, Netherlands
    Posts
    314
    Current Local Time
    01:34 AM
    This sounds like something that could be done by modifying the version upgrade script autodesk includes on the install.

    Start a new session of Revit, perform a sequence of those actions, close out Revit, find the journal file and compare that to the .txt file found at:
    C:\Program Files\Autodesk\Revit 2013\Program\en-US\Utilities\ContentBatchUtility

    Not sure since this isn't one of my own strengths, but if it is yours you might get it to work.

  6. #6
    Member
    Join Date
    April 12, 2011
    Location
    Durban, South Africa
    Posts
    79
    Current Local Time
    11:34 PM
    Thanks for the responses.

    A macro recorder? Is that an external app? If so any suggestions on which one I should try?

    Yes I had also thought of something similar to the contentbatchutility!

  7. #7
    Moderator
    "I am NOT a Revit tutor!"
    Dave Jones's Avatar
    Join Date
    December 7, 2010
    Location
    San Luis Obispo, California USA
    Posts
    4,486
    Current Local Time
    04:34 PM
    Quote Originally Posted by Craig Howie View Post
    Thanks for the responses.

    A macro recorder? Is that an external app? If so any suggestions on which one I should try?

    Yes I had also thought of something similar to the contentbatchutility!
    a macro recorder generally just records keystrokes and then the resultant macro can be run in whatever program it is for. In this case there are no keystrokes to do what you want that I know of...

  8. #8
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,116
    Current Local Time
    07:34 PM
    the window buttons can all be accessed with Alt+key combo (Alt+R, Alt+T etc) and you can tab through everything but it's a pain in the butt.

  9. #9
    Senior Member ahmed_hassan's Avatar
    Join Date
    April 25, 2011
    Location
    Egypt
    Posts
    752
    Current Local Time
    11:34 PM
    i was about to be fired because of this API trying to learn it but getting out with nothing (not able to create one independent API, i can not grasp it although the sources i read !)
    it is needs strategy like plan steps ,returning commands, Enumeration ,!!!!!!!!!!
    Last edited by ahmed_hassan; October 4th, 2012 at 08:43 PM.

  10. #10
    Autodesk JeffH's Avatar
    Join Date
    December 13, 2010
    Location
    The Ivory Tower (Manchester NH)
    Posts
    766
    Current Local Time
    07:34 PM
    You might be able to leverage a journal file to do somethign like this. There was a batch rendering tool that leveraged journal files and a bit of hacking to do batch renders in a project.

    buildz: Render Queue (ish) for Revit

    Not sure if it would work but it might be worth a try.

    I am pretty sure all of this could be accomplished with a custom API application. You might look into getting someone to write a custom app for you to do this.

Page 1 of 2 12 LastLast

Similar Threads

  1. Editing the .ini
    By snowyweston in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: October 29th, 2013, 04:59 PM
  2. Very slow editing!!
    By aalen88 in forum Architecture and General Revit Questions
    Replies: 11
    Last Post: January 4th, 2012, 01:12 AM
  3. Replies: 0
    Last Post: November 10th, 2011, 01:45 AM
  4. Editing the Revit.ini...
    By snowyweston in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: November 3rd, 2011, 07:13 PM
  5. External Power Supply for Multiple LED Families
    By ericakoe in forum MEP - Family Creation
    Replies: 0
    Last Post: July 26th, 2011, 01:05 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
  •