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

Limit iLogic rule for specific view on drawing

Hi,

 

I have below iLogic rule to control dimension precision on Inventor drawing. It updates dimension precision in all drawing views.

 

Is it possible to modify this rule so that it will only update dimension precision of required drawing view ?? I have a view on drawing with name as "UNDER". I want to have precise dimensions only for this view.

 

Dim oDoc As DrawingDocument = ThisDoc.Document
Dim oSheet As Sheet = oDoc.ActiveSheet

For Each oDim As DrawingDimension In oSheet.DrawingDimensions
If Round(oDim.ModelValue * 10, 1) -Round(oDim.ModelValue * 10, 0) = 0 Then
oDim.Precision = 0
Else
oDim.Precision = 1
End If
Next

 

BR, Ganesh

Labels (1)