Accessimport part mdb.models[name].parts[name].allInternalSets[name] mdb.models[name].parts[name].allSets[name] mdb.models[name].parts[name].sets[name] import assembly mdb.models[name].rootAssembly.allinstances.sets[name] mdb.models[name].rootAssembly.allInternalSets[name] mdb.models[name].rootAssembly.allSets[name] mdb.models[name].rootAssembly.instances[name].sets[name] mdb.models[name].rootAssembly.modelInstances[i].sets[name] mdb.models[name].rootAssembly.sets[name] Set(...)
This method creates a set from a sequence of objects in a model database. Pathmdb.models[name].parts[name].Set mdb.models[name].rootAssembly.Set Required arguments
Optional argumentsAt least one sequence argument must be provided—elements, nodes, vertices, edges, faces, cells, or referencePoints. The arguments xVertices, xEdges, and xFaces are used to exclude lower-dimension entities and to provide finer control on the content of the set. For example, the following statement defines a region enclosing a square face but without two of its edges: set = mdb.models['Model-1'].rootAssembly.Set(name='mySet', \ faces=f[3:4], \ xEdges=e[1:3])
Return valueA Set object. ExceptionsInvalidNameError. Set(...)
This method copies a set from an existing set. Pathmdb.models[name].parts[name].Set mdb.models[name].rootAssembly.Set Required arguments
Optional argumentsNone. Return valueA Set object. ExceptionsInvalidNameError. SetByBoolean(...)
This method creates a set by performing a boolean operation on two or more input sets. Pathmdb.models[name].parts[name].SetByBoolean mdb.models[name].rootAssembly.SetByBoolean Required arguments
Optional arguments
Return valueA Set object. ExceptionsInvalidNameError. SetFromColor(...)
This method creates a set containing faces of the part marked with a specified color attribute. Third-party applications can assign color attributes to faces, and the color attribute can be imported into Abaqus from an ACIS file. You can use this method to create sets only on parts; however, you can access the sets from instances of the parts in the assembly. Pathmdb.models[name].parts[name].SetFromColor Required arguments
Optional argumentsNone. Return valueA Set object. ExceptionsInvalidNameError. SetFromElementLabels(...)
This method creates a set from a sequence of element labels in a model database. Pathmdb.models[name].parts[name].SetFromElementLabels mdb.models[name].rootAssembly.SetFromElementLabels Required arguments
Optional argumentsNone. Return valueA Set object. ExceptionsInvalidNameError. SetFromNodeLabels(...)
This method creates a set from a sequence of node labels in a model database. Pathmdb.models[name].parts[name].SetFromNodeLabels mdb.models[name].rootAssembly.SetFromNodeLabels Required arguments
Optional arguments
Return valueA Set object. ExceptionsInvalidNameError. MapSetsFromOdb(...)
This method creates sets based on mapping sets from element centroid locations in an Odb. Pathmdb.models[name].parts[name].MapSetsFromOdb Required arguments
Optional arguments
Return valueA Set object or a tuple of Set objects. ExceptionsNone. MembersThe Set object has the following members:
|