Opens editing actions for all matching <Node> objects in the <NodeBuffer> that qualify to be edited. Once editing actions are opened, Simdify Scripting Language can change the <Node> and the change is entered into the undo history. Note that you cannot edit <Node> objects that have not been added to a document, and that includes <Node> objects added to the document in the current action. <Node> objects must have been added to the document by a previous action such as a macro to qualify for editing. Finally, the <NodeBuffer> cannot have ownership over any <Node> you wish to edit.
int32 EditIf( NodeBuffer p_oBuffer, EditModel3D p_poModel, TypeInformation p_oTypeInfo )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<NodeBuffer> | p_oBuffer | A pointer to the <NodeBuffer> containing the set of <Node> objects you wish to edit. |
<EditModel3D> | p_poModel | A pointer to an <EditModel3D> object such as Model to associate the editing action. |
TypeInformation | p_oTypeInfo | A <TypeInformation> pointer that specifies which type of <Node> you wish to edit. The <Node> object's type must be an exact match to this type. Subclasses will fail this test. |
None published. Please look for an example in the Simdify Scripting Language code base.