|
|
|
|
|
__contains__(x,
y)
y in x |
|
|
|
|
__delitem__(x,
y)
del x[y] |
|
|
|
|
|
|
|
|
|
|
__setitem__(x,
i,
y)
x[i]=y |
|
|
|
None
|
|
|
|
appendList(...)
No documentation available. |
|
|
|
Part
|
at(iPosition)
Retrieves the Part at a given position. |
|
|
|
Part
|
child(iIndex)
Returns the child of the assembly at the specified index. |
|
|
|
None
|
clear()
Removes all the parts from the assembly. |
|
|
|
bool
|
contains(iName)
Returns whether the assembly contains the specified part or not. |
|
|
|
Assembly
|
deserialize(xml)
Static method, deserialize XML representation of definition to Python
object. |
|
|
|
|
deserializeEx(...)
No documentation available. |
|
|
|
None
|
exportCad(iFile)
Exports the assembly to a CAD file. |
|
|
list[Part]
|
flatList(iRecursive)
Gives a list of parts in the assembly. |
|
|
|
int
|
index(iPart)
Returns the index of the specified part in the assembly. |
|
|
|
None
|
insert(iIndex,
iPart)
Inserts the specifed part at the specifed index in the assembly. |
|
|
|
tuple
|
pathToPart(iPart)
Returns a tuple indicating the path to the specifed part. |
|
|
|
None
|
remove(iPosition)
Removes the Part at a given position. |
|
|
|
string
|
|
|
|
|
|
int
|
size()
The number of parts in the assembly. |
|
|
|
Inherited from Part:
age,
badFaces,
boundingBox,
centeredBoundingBox,
check,
checkLumps,
cloneFlatten,
exportFaceToSAT,
exportToSAB,
exportToSAT,
faceCentroid,
faceNormalAtCentroid,
faces,
facetFaces,
hide,
importCad,
importCadWithUnits,
inspectPart,
locatorList,
project,
show,
slice,
sliceLineFacets,
touchGeometry
Inherited from core.Attributable:
addAttribute,
attributeNames,
getAttribute,
removeAttribute,
setAttribute
Inherited from core.Selectable:
clone,
isSelected
Inherited from core.Updatable:
__enter__,
__exit__,
hash,
isValid,
reasonWhyInvalid
|