Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
Hippocode

parametric/record info of object

Recommended Posts

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 by hippothamus

Share this post


Link to post

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.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×