RegionLinearPattern Class
The commands in the RegionLinearPattern 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... | |
| double | GetAngle1 () |
| Returns the angle in the direction 1. More... | |
| double | GetAngle2 () |
| Returns the angle in the direction 2. More... | |
| ReferenceObject * | GetAxis () |
| Returns the line or reference line that determines the reference direction. More... | |
| int | GetInstance1 () |
| Returns the number of regions to be created in the direction 1. More... | |
| int | GetInstance2 () |
| Returns the number of regions to be created in the direction 2. More... | |
| ItemObject * | GetItem (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 regions. More... | |
| String | GetName () |
| Returns a name. More... | |
| virtual Variant | GetProperty (String &name) |
| Returns the value of the property with the specified name. More... | |
| StringList | GetRegionList () |
| Returns a list of region IDs to copy. More... | |
| bool | GetReverse1 () |
| Returns True when the direction1 is reversed. More... | |
| bool | GetReverse2 () |
| Returns True when the direction2 is reversed. More... | |
| String | GetScriptTypeName () |
| Returns the name of the object type as a string. More... | |
| double | GetSpacing1 () |
| Returns the interval between regions to be created in the direction 1. More... | |
| double | GetSpacing2 () |
| Returns the interval between regions to be created in the direction 2. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumItems () |
| Returns the number of items. More... | |
| void | SetAngle1 (double value) |
| Specifies the angle in the direction 1. More... | |
| void | SetAngle2 (double value) |
| Specifies the angle in the direction 2. More... | |
| void | SetAxis (ReferenceObject *axis) |
| Specifies the line or reference line that determines the deference direction. More... | |
| void | SetInstance1 (int value) |
| Specifies the number of regions to be created in the direction 1. More... | |
| void | SetInstance2 (int value) |
| Specifies the number of regions to be created in the direction 2. More... | |
| void | SetMerge (bool value) |
| Specifies whether or not to merge the regions. 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 | SetRegionList (StringList &value) |
| Specifies the list of region IDs to copy. More... | |
| void | SetReverse1 (bool value) |
| Specifies whether or not to reverse direction 1. More... | |
| void | SetReverse2 (bool value) |
| Specifies whether or not to reverse direction 2. More... | |
| void | SetSpacing1 (double value) |
| Specifies the interval between regions to be created in direction 1. More... | |
| void | SetSpacing2 (double value) |
| Specifies the interval between regions to be created in direction 2. More... | |
RegionLinearPattern Class
The commands in the RegionLinearPattern class are described below.
.
The RegionLinearPattern class includes the commands for the following operation.
For more information about the properties for this class, see here .
|
virtualinherited |
Adds ReferenceObject object to a specified variable.
| name | Property name |
| value | ReferenceObject object (target) |
| double RegionLinearPattern::GetAngle1 | ( | ) |
Returns the angle in the direction 1.
| double RegionLinearPattern::GetAngle2 | ( | ) |
Returns the angle in the direction 2.
| ReferenceObject * RegionLinearPattern::GetAxis | ( | ) |
Returns the line or reference line that determines the reference direction.
| int RegionLinearPattern::GetInstance1 | ( | ) |
Returns the number of regions to be created in the direction 1.
| int RegionLinearPattern::GetInstance2 | ( | ) |
Returns the number of regions to be created in the direction 2.
|
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.
| value | Item name or index |
| bool RegionLinearPattern::GetMerge | ( | ) |
Returns whether or not to merge the regions.
|
inherited |
Returns a name.
|
virtualinherited |
Returns the value of the property with the specified name.
| name | Property name |
| StringList RegionLinearPattern::GetRegionList | ( | ) |
Returns a list of region IDs to copy.
| bool RegionLinearPattern::GetReverse1 | ( | ) |
Returns True when the direction1 is reversed.
| bool RegionLinearPattern::GetReverse2 | ( | ) |
Returns True when the direction2 is reversed.
|
inherited |
Returns the name of the object type as a string.
| double RegionLinearPattern::GetSpacing1 | ( | ) |
Returns the interval between regions to be created in the direction 1.
| double RegionLinearPattern::GetSpacing2 | ( | ) |
Returns the interval between regions to be created in the direction 2.
|
virtualinherited |
Returns True if an object is valid.
Reimplemented in Sketch, Part, SketchItem, and MeshPart.
|
inherited |
Returns the number of items.
| void RegionLinearPattern::SetAngle1 | ( | double | value | ) |
Specifies the angle in the direction 1.
| value | Angle |
| void RegionLinearPattern::SetAngle2 | ( | double | value | ) |
Specifies the angle in the direction 2.
| value | Angle |
| void RegionLinearPattern::SetAxis | ( | ReferenceObject * | axis | ) |
Specifies the line or reference line that determines the deference direction.
| axis | ReferenceObject object |
| void RegionLinearPattern::SetInstance1 | ( | int | value | ) |
Specifies the number of regions to be created in the direction 1.
| value | Creates in the direction 1. |
| void RegionLinearPattern::SetInstance2 | ( | int | value | ) |
Specifies the number of regions to be created in the direction 2.
| value | Creates in the direction 2. |
| void RegionLinearPattern::SetMerge | ( | bool | value | ) |
Specifies whether or not to merge the regions.
| value | True=on : Merge
False=off : Do not merge
|
|
inherited |
Specifies a name.
| name | Item name |
|
virtualinherited |
Specifies a value of property.
| name | Property name |
| value | Value of properties |
Reimplemented in SketchItem.
|
virtualinherited |
Specifies the values in properties by ReferenceObject object.
| name | Property name |
| value | ReferenceObject object (target) |
| void RegionLinearPattern::SetRegionList | ( | StringList & | value | ) |
Specifies the list of region IDs to copy.
| value | List of region IDs |
For more information about the commands of string array type, see "Example of the String Array Type."
| void RegionLinearPattern::SetReverse1 | ( | bool | value | ) |
Specifies whether or not to reverse direction 1.
| value | True=on : Reverse
False=off : Do not reverse
|
| void RegionLinearPattern::SetReverse2 | ( | bool | value | ) |
Specifies whether or not to reverse direction 2.
| value | True=on : Reverse
False=off : Do not reverse
|
| void RegionLinearPattern::SetSpacing1 | ( | double | value | ) |
Specifies the interval between regions to be created in direction 1.
| value | Pattern interval in direction 1 |
| void RegionLinearPattern::SetSpacing2 | ( | double | value | ) |
Specifies the interval between regions to be created in direction 2.
| value | Pattern interval in direction 2 |