Public Member Functions | List of all members
RegionMergeNode Class Reference

RegionMergeNode Class
The commands in the RegionMergeNode class are described below.
. More...

Inherits ItemObject.

Public Member Functions

virtual void AddPropertyByReference (String &name, ReferenceObject *value)
 Adds ReferenceObject object to a specified variable. More...
 
bool GetAllEditTargets ()
 Determines whether the region (solids/parts) that is being edited is a target to delete duplicate nodes. More...
 
ItemObjectGetItem (Variant &value)
 Returns an item displayed in the [Model Manager] tree such as assembly, part and sketch. Index is numbered in the order of the each items shown in the tree. More...
 
String GetName ()
 Returns a name. More...
 
virtual Variant GetProperty (String &name)
 Returns the value of the property with the specified name. More...
 
String GetScriptTypeName ()
 Returns the name of the object type as a string. More...
 
StringList GetTargetList ()
 Returns a list of region (or solids, parts) IDs for duplicate nodes to be deleted on a model. More...
 
double GetTolerance ()
 Returns the tolerance. More...
 
bool GetUseDefaultTol ()
 Returns True as a return value if default tolerance is used. More...
 
virtual bool IsValid ()
 Returns True if an object is valid. More...
 
int NumItems ()
 Returns the number of items. More...
 
void SetAllEditTargets (bool value)
 Specifies a region (solid, part) that is being edited as the duplicating node to be deleted. More...
 
void SetName (String &name)
 Specifies a name. More...
 
virtual void SetProperty (String &name, Variant &value)
 Specifies a value of property. More...
 
virtual void SetPropertyByReference (String &name, ReferenceObject *value)
 Specifies the values in properties by ReferenceObject object. More...
 
void SetTargetList (StringList &value)
 Returns information on region ID (or solid, part) that are deleted as duplicate nodes in a list. More...
 
void SetTolerance (double value)
 Specifies Tolerance. More...
 
void SetUseDefaultTol (bool value)
 Specifies whether or not to use the default tolerance. More...
 

Detailed Description

RegionMergeNode Class
The commands in the RegionMergeNode class are described below.
.

Commands that belong are described below.

For more information about the properties for this class, see here .

Member Function Documentation

void ItemObject::AddPropertyByReference ( String &  name,
ReferenceObject value 
)
virtualinherited

Adds ReferenceObject object to a specified variable.

Parameters
nameProperty name
valueReferenceObject object (target)
bool RegionMergeNode::GetAllEditTargets ( )

Determines whether the region (solids/parts) that is being edited is a target to delete duplicate nodes.

Returns
Whether or not the region (solid/part) that is being edited is a target to delete duplicate nodes.
ItemObject * ItemObject::GetItem ( Variant &  value)
inherited

Returns an item displayed in the [Model Manager] tree such as assembly, part and sketch. Index is numbered in the order of the each items shown in the tree.

Parameters
valueItem name or index
Returns
ItemObject object
String ItemObject::GetName ( )
inherited

Returns a name.

Returns
Item name
Variant ItemObject::GetProperty ( String &  name)
virtualinherited

Returns the value of the property with the specified name.

Parameters
nameProperty name
Returns
Value of properties
String ItemObject::GetScriptTypeName ( )
inherited

Returns the name of the object type as a string.

Returns
Type name of object
StringList RegionMergeNode::GetTargetList ( )

Returns a list of region (or solids, parts) IDs for duplicate nodes to be deleted on a model.

Returns
List of region IDs (or solid, part)
double RegionMergeNode::GetTolerance ( )

Returns the tolerance.

Returns
Tolerance
bool RegionMergeNode::GetUseDefaultTol ( )

Returns True as a return value if default tolerance is used.

Returns
Returns True if default value is used
bool ItemObject::IsValid ( )
virtualinherited

Returns True if an object is valid.

Returns
Whether or not the object are valid

Reimplemented in Sketch, Part, SketchItem, and MeshPart.

int ItemObject::NumItems ( )
inherited

Returns the number of items.

Returns
Item count
void RegionMergeNode::SetAllEditTargets ( bool  value)

Specifies a region (solid, part) that is being edited as the duplicating node to be deleted.

Parameters
value
[All Edit Targets]
True : All targets that are editing
False : Not all flags that are editing are targets
void ItemObject::SetName ( String &  name)
inherited

Specifies a name.

Parameters
nameItem name
void ItemObject::SetProperty ( String &  name,
Variant &  value 
)
virtualinherited

Specifies a value of property.

Parameters
nameProperty name
valueValue of properties

Reimplemented in SketchItem.

void ItemObject::SetPropertyByReference ( String &  name,
ReferenceObject value 
)
virtualinherited

Specifies the values in properties by ReferenceObject object.

Parameters
nameProperty name
valueReferenceObject object (target)
void RegionMergeNode::SetTargetList ( StringList &  value)

Returns information on region ID (or solid, part) that are deleted as duplicate nodes in a list.

Parameters
valueList of region IDs (or solid, part)
void RegionMergeNode::SetTolerance ( double  value)

Specifies Tolerance.

Parameters
valueTolerance
void RegionMergeNode::SetUseDefaultTol ( bool  value)

Specifies whether or not to use the default tolerance.

Parameters
value
Specifies Tolerance
True : Default value is used
False : Default value is not used