Programmatically Drag Wall/Structural Framing End

Programmatically Drag Wall/Structural Framing End

Anonymous
Not applicable
445 Views
0 Replies
Message 1 of 1

Programmatically Drag Wall/Structural Framing End

Anonymous
Not applicable

Hi everyone,

 

I was hoping to find a way to programmatically set the endpoint of a wall or structural framing element to be dragged. Right-clicking an endpoint in Revit reveals the "Drag End" command (this does exactly what I want), which I clicked on in order to lookup a commandId via the Journal file; the command ID is "ID_STRUCT_END_CTRL_DRAG" for structural framing elements and "ID_WALL_END_CTRL_DRAG" for wall elements, but the commands are not postable. 

'E 10-Sep-2018 11:14:36.676; 0:< 
Jrn.Command "Internal" , "Drag Wall End , ID_WALL_END_CTRL_DRAG"

It seems that neither the StructuralFramingUtils class nor the WallUtils class has a method that accomplishes what I'm looking for, so I'm wondering if anyone on the forum knows of a solution.

 

Thank you,

IanMage1 

446 Views
0 Replies
Replies (0)