Jump to content

Accessing render options


Recommended Posts

On 5/29/2018 at 5:31 PM, Sangmin said:

I don't think we have such functions to read and write the OpenGL options for each layer, but we are considering to add them.


I've found that you can access settings through the data object specified by kOpenGLDataType, however the data structure doesn't quite match what one would think from the constant list in RenderOptionValues.h.

Link to comment
Guest Sangmin

"kOpenGLDataType" is the right place to start. BTW, can you access all the source codes?

Plus, if I add a new SDK function for Vectorworks 2019, you can use it right away?

Or you need to wait until the next release?

Link to comment
Guest Sangmin

If I add the following functions for Vectorworks 2019, will it be good enough?

gSDK->SetObjectVariable (layerHandle, kOpenGLCastShadow, value);
gSDK->GetObjectVariable (layerHandle, kOpenGLCastShadow, value);


The first parameter is for the viewport or layers. 

The second parameter is for the OpenGL options such as Textures, Colors, Anti-Aliasing, Draw Edges, Shadows and so on.

The third parameter contains the value. 


Link to comment
  • 3 weeks later...

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.

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...