twk Posted June 3, 2014 Share Posted June 3, 2014 Greetings all, Have two queries 1. I have a quick plugin object that creates an extruded profile based on poly profile from a symbol. When purging a document and selecting purge unused symbols is there a way to tell vectorworks via script that a particular symbol is in use via that plugin? 2. For this extruded profile plugin im adding a pitch and roll parameter. How can we include the degree sign in the display in the object info.. like ?. Thanks in advance Tui Quote Link to comment
AFDesign Posted June 4, 2014 Share Posted June 4, 2014 Hi Tui, If I understood correctly, my "Custom Beams" does exactly what you're asking, look this video to verify if. Have a nice day www.andreafacchinello.it Quote Link to comment
twk Posted June 5, 2014 Author Share Posted June 5, 2014 Thanks Andrea, my custom plugin object also has the ability to create groups of beams set out by width. Our plugins do look similar . Would know the answer to my queries though? Thanks for replying. Tui Quote Link to comment
JBenghiat Posted June 5, 2014 Share Posted June 5, 2014 Tui, 1. Add the symbol to your plug-in's profile group. Symbols in the profile count as "in use" and won't be purged. 2. The short answer is you can't, at least not without a lot of extra code. There is no angle parameter type. You can add an angle widget, but you have to code in setting and getting the value. -Josh Quote Link to comment
twk Posted June 5, 2014 Author Share Posted June 5, 2014 Thanks Josh, For question 1, are you refering to SetCustomObjectProfileGroup? Would that work if my plugin object is a linear based one? What it actually does is gets the polygon profile from a symbol. So in the script I've had to ungroup the symbol and use the polygon inside that to extrude it along a specified axis. I will try and post a sample code to see if that will help. Thanks in advance. Tui Quote Link to comment
JBenghiat Posted June 6, 2014 Share Posted June 6, 2014 Any object can have a path group and a profile group, even a point PIO. Both groups are really just storage containers, and nothing automatic happens to either on the code level. All you need to do is insert a copy of the symbol in the profile group. The way that they are special is for edit modes -- double- or control- clicking, reshaping, etc. The other special behavior is that the objects in each group persist, unlike the objects drawn by the PIO. That means you would either want to delete and re-create the profile group on every regen, or only insert the symbol if it changes. HTH, Josh Quote Link to comment
AFDesign Posted June 10, 2014 Share Posted June 10, 2014 Sorry Tui, I can't help you this is all new for me too. Quote Link to comment
twk Posted June 11, 2014 Author Share Posted June 11, 2014 No worries Andrea thanks for replying 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.