Jump to content
Sign in to follow this  
michaelk

WSImg functions

Recommended Posts

Am I blind, or are these functions and all others pertaining to images inside worksheets not in the VectorScript 2013 Function Reference?

ubbthreads.php?ubb=download&Number=8425&filename=Screen%20Shot%202012-12-15%20at%2011.04.11%20PM.png

mk

Edited by michaelk

Share this post


Link to post

OK, I've got some of it figured out.

Is there an attribute list that I'm not aware of that these might be following?

Worksheet Image View

2=Top/Plan

3=Front

4=Back

5=Left

6=Right

7=Top

8=Bottom

9=Right Iso

10=Left Iso

11=Right Rear Iso

12=Left Rear Iso

13=Lower Right Iso

14=Lower Left Iso

15=Lower RIght Rear Iso

16=Lower Left Rear Iso

Setting a value of 0 or 1 does nothing that I can discover. Does this list of attributes occur elsewhere with the 0 and 1 missing?

Worksheet Image Render Mode

0=Wireframe

6=Hidden Line

11=OpenGL

Why 0,6,11? No other values do anything I can discover.

Worksheet Image Size Type

0=Autosize

1=Fixed

Can't seem get GetWSImgUseLayScale to do anything. Same with Set.....

Changing the custom scale works great, Haven't looked at scripting the change to using custom layer scale.

These parameters are somewhat interdependent. i.e., setting the render mode to open gl while in top plan view probably won't work. Is there anything about how VW handles viewports or other similar functions that can shed some light on this?

thanks

mk

Share this post


Link to post

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.

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.

×
×
  • Create New...