Hippocode Posted March 26, 2014 Share Posted March 26, 2014 (edited) How can you load this information with sdk ? I only have an objecthandle. VWObject FrameHd; FrameHd=gSDK->FirstMemberObj(DLHd); I noticed that in this class I can get various data, but nowhere does it point to the parametric records or any others attached. Edited March 26, 2014 by hippothamus Quote Link to comment
Vectorworks, Inc Employee klinzey Posted March 26, 2014 Vectorworks, Inc Employee Share Posted March 26, 2014 Records are Aux Objects so you would have to traverse the aux list. Not the actual code but should get you going in the right place. I haven't tried it but this is the general idea and where I would start. VWRecordObj bob = gSDK->FindAuxObject(theObject,kRecordNode); If Not gSDK->IsPluginFormat(bob) then bob = gSDK->NextAuxObject(theObject,kRecordNode); Once you have the handle to the record you can traverse the record to get the fields and data. 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.