EditIf Data Member Function

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.

Prototype

int32 EditIf( NodeBuffer p_oBuffer, EditModel3D p_poModel, TypeInformation p_oTypeInfo )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_oBufferA pointer to the <NodeBuffer> containing the set of <Node> objects you wish to edit.
<EditModel3D>p_poModelA pointer to an <EditModel3D> object such as Model to associate the editing action.
TypeInformationp_oTypeInfoA <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.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Simdify Scripting Language code base.