Public Member Functions | List of all members
SolidMirrorCopy Class Reference

SolidMirrorCopy Class
The commands in the SolidMirrorCopy 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...
 
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...
 
bool GetMerge ()
 Returns whether or not to merge the solids. 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...
 
ReferenceObjectGetSymmetry ()
 Returns the mirror face. More...
 
StringList GetTargetList ()
 Returns a list of solid IDs to copy. More...
 
virtual bool IsValid ()
 Returns True if an object is valid. More...
 
int NumItems ()
 Returns the number of items. More...
 
void SetMerge (bool value)
 Specifies whether or not to merge the solids. 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 SetSymmetry (ReferenceObject *value)
 Specifies the mirror face. More...
 
void SetTargetList (StringList &value)
 Specifies a list of solid IDs to copy. More...
 

Detailed Description

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

The SolidMirrorCopy class includes the commands for the following operation.

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)
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
bool SolidMirrorCopy::GetMerge ( )

Returns whether or not to merge the solids.

Returns
Whether or not to merge
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
ReferenceObject * SolidMirrorCopy::GetSymmetry ( )

Returns the mirror face.

Returns
ReferenceObject object
StringList SolidMirrorCopy::GetTargetList ( )

Returns a list of solid IDs to copy.

Returns
List of solid IDs
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 SolidMirrorCopy::SetMerge ( bool  value)

Specifies whether or not to merge the solids.

Parameters
value
True=on : Merges
False=off : Does not merge
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 SolidMirrorCopy::SetSymmetry ( ReferenceObject value)

Specifies the mirror face.

Parameters
valueReferenceObject object
void SolidMirrorCopy::SetTargetList ( StringList &  value)

Specifies a list of solid IDs to copy.

Parameters
valueList of solid IDs

For more information about the commands of string array type, see "Example of the String Array Type."