【Revit 2025】Is there any way to use the API to create a reference plane in the sketch mode of a NewExtrusion family?

【Revit 2025】Is there any way to use the API to create a reference plane in the sketch mode of a NewExtrusion family?

yz8023yz
Participant Participant
219 Views
1 Reply
Message 1 of 2

【Revit 2025】Is there any way to use the API to create a reference plane in the sketch mode of a NewExtrusion family?

yz8023yz
Participant
Participant

The reference plane created using the familyDoc.FamilyCreate.NewReferencePlane() method is in the model interface, while what I need is in the sketch interfacescreenshot-1719888969910.pngscreenshot-1719889093142.png

0 Likes
220 Views
1 Reply
Reply (1)
Message 2 of 2

Moustafa_K
Collaborator
Collaborator

I don't think it is possible to integrate any API functions while Revit is not in Idle state mode [ a state where no user inputs are expected to complete a pending running command], in your case the pending command is Extrusion finish [or as you named it, Sketch interface]. 

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
0 Likes