Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
DeerSpotter
411 Views, 3 Replies

De-attach or Un-Attach all dims in drawing Ilogic?

I need help detaching all dimensions from all views. It's easier for me to move those dims to the correct views when switching out the model reference than having those dims deleted and start again.

What i am trying to accomplish:

doc = ThisDoc.Document
        
'iterate each dimension  
Dim oEachDim As DrawingDimension
For Each oEachDim In doc.ActiveSheet.DrawingDimensions
If oEachDim.Attached Then
oEachDim.Attached = False
   EndIf
Next

doc.Update

I am aware i made up a few commands, if anyone can help me understand this, or even offer a other suggestion i am open ears.

Thanks!

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile