Is it possible to change the workplane of a workplane based family in Revit API (any version)? I can see the parameter and get it's string value, but I can't set it to anything. I can't find any other way to access or change the workplane, is it possible?
Announcement
Collapse
No announcement yet.
Change work plane?
Collapse
X
-
I am not knowledgeable enough to know where to look for this, but I'm guessing there is a directive that is reserved for setting object workplanes, as opposed to just setting the parameter's value like a variable..Carl - Architect, BIM Manager, Father, Husband, Coach, Player, Disc Tosser, Driver... not necessarily in that order.
Free Revit Chat | Cre8iveThings Blog | Live Architecture! | Past Live Architecture!
-
Not to my knowledge no. But, the API isn't my strongest part...
Looking at it logically you shouldn't be directly looking for changing the workplane. If I want to do this natively I first have to disassociate and then reassociate by manually appointing a new workplane. So the API-version should be:
- Unhost from workplane and make it re-applicable
- List possible workplanes (but that might give you an enormous list)
- Filter out usual suspects based on selection criteria (for instance the level that the element was on in the first place)
- Pick one...Martijn de Riet
Professional Revit Consultant | Revit API Developer
MdR Advies
Planta1 Revit Online Consulting
Comment
Related Topics
Collapse
-
Hi.
I wont to change some custom instance parameters for members of group from my addin.
Command work, but after it successfully...-
Channel: Third party Add-Ins, API and R&D
October 25, 2011, 02:45 PM -
-
It would be really great to have an API script set the work plane via shortcut keys.
For example, while working in a 3D view, have 4 work planes...-
Channel: Third party Add-Ins, API and R&D
March 7, 2013, 02:05 PM -
-
Is it possible via API to get all warnings in a document? I have looked at the failures API but it appears to only allow you to create new ones or to...
-
Channel: Third party Add-Ins, API and R&D
September 17, 2012, 08:49 PM -
-
I found an old AUGI post by Steve Stafford that states
But I can't get my family to do that.
The Origin of my family a Reference...-
Channel: Architecture - Family Creation
January 21, 2019, 06:23 PM -
-
Is there any way to extract parameters and their associated formulas from a family? I'm doing some reverse engineering and it would make life a lot easier...
-
Channel: Architecture - Family Creation
August 12, 2014, 03:33 PM -
Comment