Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
is there a way to know in FS if the tolerant dimension is active?
jelte_steur_info
Member Posts: 653 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
Answers
on second thougth:
Does the tolerance-button in the UI actually activate the functionality? or is it only for tuning the options and it's always active?