<EditModel3D> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » Node » Group » Model3D » EditModel3D

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32AddActionThis option is undocumented at present.
int32AddNodeAdds a <Node> to the scene graph beneath the specified parent, and at the position specified.
int32DeleteNodeDeletes a <Node> from the scene graph, along with its child <Node> objects.
int32DeleteNodesDeletes the <Node> objects in the <NodeBuffer> submitted to this function.
int32DeselectDeselects a <Node> in the scene graph.
int32DeselectAllDeselects all the selected <Node> objects in the scene graph.
<Node>EditNodeReturns a clone of a <Node> for editing purposes. Calling this function to get an editable <Node> is necessary if you want the editing actions to be undo-able, as well as redo-able.
<Node>EditSelectAllows you to edit a <NodeSelect> object, to remove or add sub-geometry.
int32EmptySelectionReturns true if the select buffer is empty. Otherwise returns false.
<Material>GetActiveMaterialReturns a pointer to the active <Material> in the scene graph.
<Mesh>GetActiveMeshReturns a pointer to the active <Mesh> in the scene graph.
<Group>GetActivePaletteReturns a pointer to the active palette <Group>.
<Group>GetActiveParentReturns a pointer to the active parent in the scene graph.
<DrawMode>GetCurrentModeReturns a DrawMode pointer to the current draw mode.
<NodeSelect>GetFirstSelectedNodeGets a pointer to the first <Node> in the selection buffer.
stringGetModeReturns a string containing the GUID of the draw mode at the specified index.
int32GetModeStackSizeReturns the number of drawing modes on the draw mode stack.
<Type>GetOpenActionThis option is undocumented at present.
int32GetSelectBoundsPopulates two <Vec> objects with the minimum and maximum 3D extents, or bounding box, of the selected objects.
<Model3DSelectBuffer>GetSelectBufferReturns a pointer to the selection buffer for the scene graph.
int32GetSelectCountReturns the count of selected <Node> objects in the scene graph.
<NodeSelect>GetSelectedNodeReturns a pointer to a specific, selected <Node> by its index in the selection buffer.
<ModelTool>GetToolThis option is undocumented at present.
<NodeSelect>IsFirstSelectedNodeTypeOfReturns true if the first <Node> in the select buffer matches is of the indicated type.
int32NextModeActivates the next mode on the draw mode stack.
int32ParentNodeRe-parents a <Node>.
int32PopModePops a drawing mode off the draw mode stack.
int32PriorModeActivates the previous mode on the draw mode stack.
int32PushModePushes a new draw mode onto the draw mode stack.
int32SelectSelects a <Node> in the scene graph.
int32SelectNSAllows you to select a <NodeSelect> object in the scene graph. A <NodeSelect> may be a single <Node>, or it may contain nodes as well as sub-geometry.
int32SetActiveMaterialSets a <Material> as the active <Material> in the scene graph.
int32SetActiveMeshSets a <Mesh> as the active <Mesh> in the scene graph.
int32SetActivePaletteSets a <Group> as the active palette.
int32SetActiveParentSets a <Group> as the active parent in the scene graph.
int32UpdateViewsRefreshes all the rendered worksheet views.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<ModelView>ActiveViewGets the active worksheet.
<Grid>GridThis option is undocumented at present.
ModelView[]Views[ index ]This member is an array of the rendered worksheet views currently in use.
int32ViewCountThis member returns the number of rendered worksheet views currently in use.