Class GeometryTreeNodeHelper
Inheritance
GeometryTreeNodeHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class GeometryTreeNodeHelper
Methods
AddParam(ComWrapper<ICamIpcGeometryTreeNode>, string, TCAMAPIGeomParamType, string)
Add or overwrite a user parameter. Throws if name is reserved for system use.
Declaration
public static void AddParam(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, string name, TCAMAPIGeomParamType paramType, string value)
Parameters
Child(ComWrapper<ICamIpcGeometryTreeNode>)
Child node of current node
Declaration
public static ComWrapper<ICamIpcGeometryTreeNode> Child(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
DeleteParam(ComWrapper<ICamIpcGeometryTreeNode>, string)
Delete a user parameter by name. Returns false if not found. Throws if system param.
Declaration
public static bool DeleteParam(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, string name)
Parameters
Returns
DoubleNormal(ComWrapper<ICamIpcGeometryTreeNode>)
Double-sided rendering flag
Declaration
public static bool DoubleNormal(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
EnumerateChildren(ComWrapper<ICamIpcGeometryTreeNode>)
Enumerate only direct child nodes.
Each item is disposed by the enumerator after the caller's loop body — do not dispose manually.
Declaration
public static IEnumerable<ComWrapper<ICamIpcGeometryTreeNode>> EnumerateChildren(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
FullName(ComWrapper<ICamIpcGeometryTreeNode>)
Declaration
public static string FullName(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
GeometryEntity(ComWrapper<ICamIpcGeometryTreeNode>)
Geometry data stored at node
Declaration
public static ComWrapper<ICamIpcGeometryEntity> GeometryEntity(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
GetParamName(ComWrapper<ICamIpcGeometryTreeNode>, int)
Name of parameter at given index
Declaration
public static string GetParamName(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, int index)
Parameters
Returns
GetParamType(ComWrapper<ICamIpcGeometryTreeNode>, int)
Type of parameter at given index
Declaration
public static TCAMAPIGeomParamType GetParamType(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, int index)
Parameters
Returns
GetParamValue(ComWrapper<ICamIpcGeometryTreeNode>, int)
String value of parameter at given index
Declaration
public static string GetParamValue(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, int index)
Parameters
Returns
Name(ComWrapper<ICamIpcGeometryTreeNode>)
Declaration
public static string Name(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
ParamsCount(ComWrapper<ICamIpcGeometryTreeNode>)
Number of user-defined parameters attached to this node
Declaration
public static int ParamsCount(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
Parent(ComWrapper<ICamIpcGeometryTreeNode>)
Parent node of current node
Declaration
public static ComWrapper<ICamIpcGeometryTreeNode> Parent(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
Selected(ComWrapper<ICamIpcGeometryTreeNode>)
Declaration
public static bool Selected(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
SetDoubleNormal(ComWrapper<ICamIpcGeometryTreeNode>, bool)
Set double-sided rendering flag
Declaration
public static void SetDoubleNormal(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, bool value)
Parameters
SetSelected(ComWrapper<ICamIpcGeometryTreeNode>, bool)
Declaration
public static void SetSelected(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, bool value)
Parameters
SetVisMeshU(ComWrapper<ICamIpcGeometryTreeNode>, int)
Set isoparametric curves count in U direction
Declaration
public static void SetVisMeshU(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, int value)
Parameters
SetVisMeshV(ComWrapper<ICamIpcGeometryTreeNode>, int)
Set isoparametric curves count in V direction
Declaration
public static void SetVisMeshV(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, int value)
Parameters
SetVisTol(ComWrapper<ICamIpcGeometryTreeNode>, double)
Set visual tessellation tolerance
Declaration
public static void SetVisTol(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, double value)
Parameters
SetVisible(ComWrapper<ICamIpcGeometryTreeNode>, bool)
Declaration
public static void SetVisible(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom, bool value)
Parameters
Sibling(ComWrapper<ICamIpcGeometryTreeNode>)
Sibling node of current node
Declaration
public static ComWrapper<ICamIpcGeometryTreeNode> Sibling(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
VisMeshU(ComWrapper<ICamIpcGeometryTreeNode>)
Isoparametric curves count in U direction
Declaration
public static int VisMeshU(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
VisMeshV(ComWrapper<ICamIpcGeometryTreeNode>)
Isoparametric curves count in V direction
Declaration
public static int VisMeshV(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
VisTol(ComWrapper<ICamIpcGeometryTreeNode>)
Visual tessellation tolerance
Declaration
public static double VisTol(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns
Visible(ComWrapper<ICamIpcGeometryTreeNode>)
Declaration
public static bool Visible(this ComWrapper<ICamIpcGeometryTreeNode> nodeCom)
Parameters
Returns