Jump to content
Developer Wiki and Function Reference Links ×

Simple access to document color table?


Stefan Bender

Recommended Posts

We frequently need to access the document color table. Atm we do 

 

VCOMPtr<VectorWorks::IDocumentColorTable>    doccol( VectorWorks::IID_DocumentColorTable );

 

But that seems to be time-consuming so it would be great to get a handle/pointer to the current document's color table without having to create a new VCOM ptr each time.

 

Is this possible?

 

Thanks for any ideas,

 

Stefan Bender

 

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...