arealengthsmartVolumeReturns the volume of a solid. SignaturesmartVolume([elem : Solid, ..]) : VOLUME Arguments
ReturnTypeVOLUME ExampleTotal_Volume=smartVolume(PartBody) Total_Volume= smartVolume(PartBody\Pad.1) Both formulas return the same result since smartVolume does not compute the volume of each pad contained in a PartBody but the total volume. smartWetareaReturns the wet area of a solid. SignaturesmartWetarea([elem : Solid, ..]) : AREA Arguments
ReturnTypeAREA ExampleTotal_Area=smartWetarea(PartBody\Pad.1) Note:
smartVolume and
smartWetarea refer to intermediate states of a solid. smartVolume does not
compute the volume of each pad contained in a PartBody but the total
volume.
This applies also to smartWetarea (the total wet area is
computed).
GeometricFeature.GetSubElements()Function used to return sub-elements of a feature. Note:
It is not possible to make assumptions about the ordering of this function result. Whenever the object the function is applied to is updated, the order of the rendered sub-elements can change.
Arguments
ReturnTypeList GeometricFeature.GetSubElements()Function used to return sub-elements of a feature. An integer argument specifies the type you want:
Note:
It is not possible to make assumptions about the ordering of this function result. Each time the object the function is applied to is updated, the order of the rendered sub-elements can change.
Arguments
ReturnTypeList Examplelet subElements (List) subElements = PartBody\Pad.1.GetSubElements(0) subElements = PartBody\Pad.1.GetSubElements(1) subElements = PartBody\Pad.1GetSubElements(2) GeometricFeature.ListParents() |