Rules for dimensions in Drawing

Rules for dimensions in Drawing

Anonymous
Not applicable
811 Views
2 Replies
Message 1 of 3

Rules for dimensions in Drawing

Anonymous
Not applicable

Hi all,

 

I started to use iLogic and create Rules in my projects recently. I'm using some Rules which suppress specific features depending on some parameters. However, whenever a feature is suppressed or reactivated, their respective dimensions lose their reference in the drawing. I wonder if I can create a Rule that would catch whether a feature is active or not in a drawing and, depending on that, suppress or reactivate dimensions.

 

Could someone explain how to go about this?

Thanks!

0 Likes
Accepted solutions (1)
812 Views
2 Replies
Replies (2)
Message 2 of 3

yan.gauthier
Advocate
Advocate

from my experience with VBA, when you loop through every dimensions/annotations in a drawing. if you encounter a dimensions refering to a supressed features, most of its property are in error state. If you try to access those properties, you will end up with errors too. 

Message 3 of 3

robertast
Collaborator
Collaborator
Accepted solution

@Anonymous 

I don’t know if you did something wrong. First I turn on all the functions and prepare the drawings, add all the dimensions. Later, if I suppress this feature, the dimensions will go out together with it. When activated, the dimensions will reappear.
And it doesn't depend on iLogic doing it or manually.