Musisback Posted December 22, 2010 Share Posted December 22, 2010 I can't find the function that gives the name of a PIO. I mean by name, the type of PIO and not the data name that the function getname(H : handle) returns. Thanks, Quote Link to comment
Miguel Barrera Posted December 22, 2010 Share Posted December 22, 2010 Do you mean outside the pio script and just having the handle to the object? Perhaps you cannot find it because it does not exist. I have not seen a function that will give you the name directly since I last checked, so you will have to get it through the record name. Quote Link to comment
Musisback Posted December 23, 2010 Author Share Posted December 23, 2010 All right thanks! I didn't really get your hunting ferret thing, but that is not the most important for me right know.... Quote Link to comment
Pi_ Posted February 4, 2015 Share Posted February 4, 2015 for those interested GetObjectVariableString(h,1166) Quote Link to comment
Vectorworks, Inc Employee klinzey Posted February 4, 2015 Vectorworks, Inc Employee Share Posted February 4, 2015 Use caution GetObjectVariableString(h,1166) returns the localized or displayed name of the PIO. If you are working with the PIO setting and getting values you want to use the universal name. You need to use a different procedure to get the universal name. RecordH := GetParametricRecord(h); PIOName := GetName(RecordH); The record name of the PIO has the same name as the PIO. 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.