EditIfDerived 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.

Prototype

int32 EditIfDerived( 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>, including derived types, you wish to edit.

Examples

Copy Text To Clipboard

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