Hello VBA geniuses...
I'm working on a macro feature that creates a body in a part document. I will eventually need to apply a cometic thread to this body. What is the best way to approach this? I'll need to drive the dimensions of the cosmetic thread somehow from the macro feature.
I can add geometry to the macro feature's body, then use equations attached to driven dimensions to drive the thread dimensions. That leaves the cometic thread one rebuild behind. That's not acceptable.
I see that the macro feature can have display dimensions, but I don't see any documentation on how to use those. If I knew how to do that, I could connect the thread to those with an equation, and the thread should stay current (I think).
Also, how can I make sure that the cosmetic thread stays attached to the correct edge on the macro feature's body? The body generated by the macro feature may change shape, and I'm afraid the cosmetic thread might become attached to the wrong end of the body or go dangling.
If I can't guarantee an edge for the cosmetic thread to attach to, I suppose I could create another macro feature body which would never change shape. Therefore, the edge should never change, and the cosmetic thread should stay put (I think).
Thanks in advance for any advice or redirection.