Anuncios
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Restrict movement of an Element

arpankumar.macwan
Enthusiast

Restrict movement of an Element

arpankumar.macwan
Enthusiast
Enthusiast

hi,

I want to restrict the movement of any element in specific direction.
In my form I have buttons called "LockE", "LockN".
If I say LockE, then user should not be able to move the element in East direction.

If I say LockN, then user should not be able to move the element in North direction.

 

Thanks,

Macwan

0 Me gusta
Responder
202 Vistas
2 Respuestas
Respuestas (2)

jeremy_tammik
Autodesk
Autodesk

You can achieve this by using the dynamic model updater framework, DMU:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.31

  

Sounds like a tricky project to me, though.

  

Revit does not provide any built-in functionality to support this in the end user interface, does it?

   

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Me gusta

jeremy_tammik
Autodesk
Autodesk

Look at the DynamicModelUpdate SDK sample: 

 

  • Dynamic Model Update used to maintain relative position between elements
  • Move a section marker to maintain relative position with a window

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Me gusta