VS:UpdateSymDispCtrlN

From Vectorworks Developer
Revision as of 02:15, 22 August 2019 by ALandsberger (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Updates a pre-existing symbol display control in the dialog with a new symbol, rendering mode, view or image component. The dialog ID and item ID must refer to symbol display control created with CreateSymDispCtrlN. To show a blank SymbolDisplay control, use an empty string as the symbolName parameter.


Table - Render Modes

Render Mode Constant
Wireframe 0
Unshaded Polygon 2
Shaded Polygon 3
Shaded Polygon No Lines 4
Final Shaded Polygon 5
Hidden Line 6
Dashed Hidden Line 7
OpenGL 11
Fast RenderWorks 12
Fast RenderWorks with Shadows 13
Final Quality RenderWorks 14
Custom RenderWorks 15
Artistic RenderWorks 17
Sketch 18



Table - Views

View Constant
Top/Plan 2
Front 3
Back 4
Left 5
Right 6
Top 7
Bottom 8
Right Isometric 9
Left Isometric 10
Right Rear Isometric 11
Left Rear Isometric 12
Bottom Right Isometric 13
Bottom Left Isometric 14
Bottom Right Rear Isometric 15
Bottom Left Rear Isometric 16



Table - Components

Component Constant
3D 0
2D 1
2D Cut 2
Not set 4
PROCEDURE UpdateSymDispCtrlN(
dialogID  :LONGINT;
itemID  :LONGINT;
symbolName  :STRING;
view  :INTEGER;
renderMode  :INTEGER;
component  :INTEGER;
scaleByZoom  :BOOLEAN);
def vs.UpdateSymDispCtrlN(dialogID, itemID, symbolName, view, renderMode, component, scaleByZoom):
    return None

Parameters

dialogID LONGINT The ID of the dialog in which to create the control.
itemID LONGINT The item ID of the control.
symbolName STRING The name of the symbol to display.
view INTEGER The view in which to display the symbol.
renderMode INTEGER The render mode in which to display the symbol.
component INTEGER The image component.
scaleByZoom BOOLEAN Whether the sizing is done by zoom or layer scale.

Version

Availability: from Vectorworks 2019

See Also

VS Functions:

VS:CreateSymDispCtrlN

VS Functions: [[VS:CreateSymDispCtrlN]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox