Is it possible to run an API in Revit while in assembly editing mode?

Is it possible to run an API in Revit while in assembly editing mode?

gustavosanmartin
Advocate Advocate
278 Views
2 Replies
Message 1 of 3

Is it possible to run an API in Revit while in assembly editing mode?

gustavosanmartin
Advocate
Advocate

Hello everyone,

I am working with assemblies in Revit and need to automate some specific tasks using the Revit API. However, I have encountered an issue: I need to execute some API operations while in assembly editing mode. Does anyone know if this is possible? If so, could you provide some examples or point to relevant documentation?

I have been using methods like CreateParts, DivideParts, and AssemblyInstance, but I haven't found clear information on whether they can be used while editing an assembly.

Any help would be greatly appreciated!

Thanks in advance.

 

gustavosanmartin_0-1718145167403.png

 

 

 

 

0 Likes
279 Views
2 Replies
Replies (2)
Message 2 of 3

ricaun
Advisor
Advisor

Is not possible, there are others posts related to this issue, when in the group editing mode works the same.

 

Is not possible to execute Commands, the ExternalEvent and Idling does not trigger when inside this editing mode.

 

Here is the post for reference:

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

Message 3 of 3

gustavosanmartin
Advocate
Advocate

thanks for your answer

0 Likes