Sam Jones Posted June 6, 2023 Share Posted June 6, 2023 When I get a name to a record, and then I get a handle to the record using "GetObject()" , is there a way to determine if the record is a parametric record? Quote Link to comment
Pat Stanford Posted June 6, 2023 Share Posted June 6, 2023 How about using the GetParametricRecord function and see if that matches the hands you got from the name? Or I believe that the Parametric Record is always the last record, so if you are using GetRecord you could compare the value you use to NumRecords and see if it is the last one. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted June 6, 2023 Vectorworks, Inc Employee Share Posted June 6, 2023 I have to search for this every time because it's buried in the middle of all the other objects-custom calls.... IsPluginFormat() Be sure to use it on the record format, not the record instance. It will return incorrect results if you supply a plug-in object (86) handle. 2 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.