VvierA Posted October 12, 2012 Share Posted October 12, 2012 Hello again, this forum is really great. I hope I may ask another question. I made a 2d path plugin object with an embedded symbol. Now I try to generate control points for the 4 corners of the symbol. The symbol varies in size so I thought I have to retrieve the width and height of the symbol via Vectorscript. I tried: widthVAR := width(S=symbolnameSTR) but it doesn't work. Maybe there is another way to retrieve (calculate) the x/y coordinates of the corners of the bounding box of the embedded symbol? Or maybe there is an even more simple way to place control points in the corners of an embedded symbol? Thank you for tips and hints, VvierA Quote Link to comment
Vectorworks, Inc Employee Matt Panzer Posted October 12, 2012 Vectorworks, Inc Employee Share Posted October 12, 2012 Hi VvierA, Have you tried: GetBBox( objHand, topLeft.x, topLeft.y, botRight.x, botRight.y ); Quote Link to comment
VvierA Posted October 13, 2012 Author Share Posted October 13, 2012 Hi Matt, thank you very much. Looks promising. I'll try that. VVierA 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.