Show/hide specific dimension in drawing

Show/hide specific dimension in drawing

RobNZIFSL
Contributor Contributor
1,648 Views
3 Replies
Message 1 of 4

Show/hide specific dimension in drawing

RobNZIFSL
Contributor
Contributor

I have a simple assembly with some derived components.  Component feature suppression is controlled via iLogic.  These features are dimensioned on the drawing.  Dimension behaviour is not predictable across model changes.  My thought was to dimension to included sketch points which are always present, but hide the points and the dimensions based on feature suppression.

 

RobNZIFSL_0-1714349112887.png

 

RobNZIFSL_1-1714349163892.png

 

Is there a way to hide or show specific dimensions on a drawing with iLogic?

 

Or is there another, better workflow?  I am trying to automate output of some 400 'configurations' with one drawing.

0 Likes
Accepted solutions (1)
1,649 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor
Accepted solution

Ideally you would link your dimensions to a named face or edge. If the geometry is visible then dimension that geometry. Or you could just try and dimension all the geometry and have it error out anywhere it does not have drawing curves to dimesion too. There might be more elegant solutions however I don't do enough to offer more assistance. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 4

RobNZIFSL
Contributor
Contributor

Thanks Alan.  For now I'm using workpoints and then creating/deleting the dimensions.  I may also try the attribute helper approach as you seem to be suggesting.

0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor

I do not do a lot of drawing detail (dimensioning/annotating) by code, due to multiple factors, but I do agree with the create when visible / delete when not visible strategy.  About the only way we can 'hide' dimensions, is to put them on a special layer, then turn that layer off (and possibly control whether they print, another setting of the special layer).  However, when the geometry the dimension was attached to is no longer visible, that 'breaks' the dimension.  There is a setting for keeping 'sick' dimensions, but they will not simply re-attach themselves by turning the geometry's visibility back on.  The sick dimension would have to be 'repaired' by re-attaching it to the geometry again.  So it is likely far better to simply delete them, and re-create them, than have to deal with all that complication.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes