Carles Olle Posted December 10, 2016 Share Posted December 10, 2016 Hi, Does anybody know which are the values for object variables: const short ovThumbnailView = 1152; // short write only - The Resource Browser's thumbnail view for a symbol - Public for VS const short ovThumbnailRender = 1153; // short write only - The Resource Browser's thumbnail render for a symbol - Public for VS I did try to set them up with a bunch of values (0, 1, 2, etc.) but it does not seem to work with this code: vs.BeginSym("{} Picture Symbol".format(pictureName)) picture = vs.CreateCustomObject("Picture", 0, 0, 0) vs.SetName(picture, pictureName) vs.EndSym() symbol = vs.GetObject("{} Picture Symbol".format(pictureName)) vs.SetObjectVariableInt(symbol, 1152, 3) #Thumbnail View - Front vs.SetObjectVariableInt(symbol, 1153, 2) #Thumbnail Render - OpenGL Somehow I don't seem to be able to find this information. Any ideas? Thanks --Carlos 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.