SetList class is used to manage the list of Set objects. It enables to create, duplicate, and delete a Set.
The class can be called from Model class.
.
More...
Public Member Functions | |
| Set * | CopySet (Set *cutplane) |
| Creates information for specified sets. More... | |
| Set * | CreateEdgeSet (String &name=String("untitled")) |
| Creates an edge set. More... | |
| Set * | CreateFaceSet (String &name=String("untitled")) |
| Creates a face set. More... | |
| Set * | CreatePartSet (String &name=String("untitled")) |
| Creates a part set. More... | |
| Set * | CreateVertexSet (String &name=String("untitled")) |
| Creates a vertex set. More... | |
| void | DeleteSet (Variant &var) |
| Deletes the set information. More... | |
| void | DeleteUnusedSets () |
| Deletes unused sets. | |
| Set * | DuplicateSet (Variant &var) |
| Copies the set by specifying the name or index. More... | |
| Set * | GetSet (Variant &var) |
| Returns the Set object by specifying the name or index. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumSet () |
| Returns the number of sets included in an assembly. More... | |
SetList class is used to manage the list of Set objects. It enables to create, duplicate, and delete a Set.
The class can be called from Model class.
.
Example of calling the class object:
| Set * SetList::CreateEdgeSet | ( | String & | name = String("untitled") | ) |
| Set * SetList::CreateFaceSet | ( | String & | name = String("untitled") | ) |
| Set * SetList::CreatePartSet | ( | String & | name = String("untitled") | ) |
| Set * SetList::CreateVertexSet | ( | String & | name = String("untitled") | ) |
| void SetList::DeleteSet | ( | Variant & | var | ) |
Deletes the set information.
| var | Name or index of the set |
The oldest set is deleted when specifying a set to be deleted with a name and multiple sets with the same name exist.
| Set * SetList::DuplicateSet | ( | Variant & | var | ) |
Copies the set by specifying the name or index.
| var | Name or index of the set |
| Set * SetList::GetSet | ( | Variant & | var | ) |
| bool SetList::IsValid | ( | ) |
Returns True if an object is valid.
| int SetList::NumSet | ( | ) |
Returns the number of sets included in an assembly.