Defines a PMI surface finish component.
new SurfaceFinishComponent(
materialRemoval?,layDirection?,isAllAround?,manufacturingMethod?):SurfaceFinishComponent
Creates a surface finish component.
MaterialRemovalType = MaterialRemovalType.ANY
Material removal type.
LayDirectionType = LayDirectionType.UNDEFINED
Lay direction.
boolean = false
All-around flag.
string = ‘’'`
Manufacturing method.
SurfaceFinishComponent
readonlyattributes:Set<SemanticAttribute>
isAllAround:
boolean=false
All-around flag.
layDirection:
LayDirectionType=LayDirectionType.UNDEFINED
Lay direction.
manufacturingMethod:
string= ‘’'`
Manufacturing method.
materialRemoval:
MaterialRemovalType=MaterialRemovalType.ANY
Material removal type.
get id():
bigint
Returns the unique identifier of the object.
bigint
accept(
visitor):void
Accepts a semantic attribute visitor or semantic component visitor.
If the visitor is a SemanticComponentVisitor, it will invoke the SemanticComponentVisitor.visitSurfaceFinishComponent method. Else if the visitor is a SemanticAttributeVisitor, it will invoke the accept method of each attribute.
SemanticAttributeVisitor | SemanticComponentVisitor
Visitor to accept.
void
addAttribute(
attribute):void
Adds a semantic attribute.
Semantic attribute.
void
Use SemanticComponent.attributes and attributes.add instead.
SemanticComponent.addAttribute
hasAttributes():
boolean
Returns whether this component has attributes.
boolean
Use SemanticComponent.attributes and attributes.size > 0 instead.
SemanticComponent.hasAttributes
numberOfAttributes():
number
Returns the number of semantic attributes.
number
Use SemanticComponent.attributes and attributes.size instead.