Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Here's some code I thought up the other day when working on a clearance checks app. It provides visual feedback by highlight flashing some features, parts, or components. In my implementation, this will highlight a pair of components that are too close together to show the users where they need to change their design.
DECLARE_VARIABLE INTEGER flashCounter 0
HIGHLIGHT_REF myFeatToHighlight
SLEEP .2 ! duration of highlight
SLEEP .05 ! duration of no highlight
END_WHILE
Design well!
--Geoff