VectorGeek Posted June 10 Share Posted June 10 Hey all: I have a number of custom-built 2D Path and Rectangular PIOs that we use a lot in day-to-day work. Is there a simple way to have these work with the Clip Tool? It would be great if they could be clipped and if the "Add Surface" and "Clip Surface" commands could be used with them. I assume this requires them to be event-enabled however I don't have experience making event-enabled PIOs. Any help and/or sample code would be greatly appreciated. Thanks! -- V-G. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted June 11 Vectorworks, Inc Employee Share Posted June 11 Yes, it required the object to be event enabled and in the kObjOnInitXPropertiesSetObjPropVS event: kObjOnInitXPropertiesSetObjPropVS( kObjXIs2DSurfaceEligable {= 14} , TRUE); { Weiler operations operate on 2D path } You can take a look here for more information on setting up your plug-in to be event enabled. Quote Link to comment
VectorGeek Posted June 12 Author Share Posted June 12 Kevin: Many, many thanks for your quick response. I have now jumped in the deep end of the pool of Event-Enabled Objects. It's like a whole new world of crippling just became available to me. The link was particularly helpful. Got our plug-ins modified and they are working great! V-G. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.