Skip to content

Latest commit

 

History

History
91 lines (77 loc) · 1.73 KB

File metadata and controls

91 lines (77 loc) · 1.73 KB

Generate2DFrom3DComp

Description

Generates the specified 2D component of a symbol definition or plug-in object from the 3D component.
The resulting graphics will be similar to converting the 3D component to lines from a view corresponding to the 2D component view.
3D objects visible in the specified detail level will be used to generate the 2D component.

''Table - 2D components'' {| class = "wikitable_c"

! Constant !! 2D component
0
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
}

''Table - Available Render Modes'' {| class = "wikitable_c"

! Constant !! Render Mode
0
-
6
-
7
}

''Table - Detail levels'' {| class = "wikitable_c"

! Constant !! Detail level
1
-
2
-
4
-
7
}
FUNCTION Generate2DFrom3DComp(
				objectHandle  : HANDLE;
				component     : INTEGER;
				renderMode    : INTEGER;
				levelOfDetail : INTEGER): BOOLEAN;
def vs.Generate2DFrom3DComp(objectHandle, component, renderMode, levelOfDetail):
    return BOOLEAN

Parameters

Name Type Description
objectHandle HANDLE Handle of a symbol or plug-in object.
component INTEGER 2D component.
renderMode INTEGER Render mode.
levelOfDetail INTEGER Detail level. 3D objects visible in this detail level will be used to generate 2D component.

See Also

VS Functions: Get2DComponentGroup | Set2DComponentGroup

Version

Availability: from Vectorworks 2019

Category

  • Objects - Custom