is there a way to know in FS if the tolerant dimension is active?

jelte_steur_info
jelte_steur_info Member Posts: 683 PRO

I've started implementing the UIHint_CAN_BE_TOLERANT in my relevant custom features.

one of them is the makeRadius FS wich can set a cylinder or conical surface at a certain radius.
if it is a conical surface, my edit logic will add a required query for an edge to measure and set the radius at.

I believe only cylindrical faces are applicable for now.

Is there a way of knowing whether the user has activated the tolerant dimension functionality in the feature dialogue for a particular dimension annotation?
then i won't have to bother them with a reportFeatureInfo for functionality that they're not using.


else

can i make only the UIHint for a particular annotation dependent on another annotation? The editLogic sets definition.measureByEdge so the info is available.
or should I make a duplicate of the whole annotation in an if/else block with/without this UIHint (not very sofisticated i.m.o.)…

kind regards

Jelte

Tagged:

Answers