API Documentation > Interface Classes > Class wfcSurfaceFinish
Class wfcSurfaceFinish

# include <wfcAnnotation.h>

class
wfcSurfaceFinish
: public virtual
wfcAnnotation
{
xaideclare(wfcSurfaceFinish)
...
};


Description
User Guide References:
Methods Inherited from Class wfcLayerItem::
Methods Inherited from Class pfcActionSource::
Methods Inherited from Class pfcParent::
Methods Inherited from Class pfcParameterOwner::
Methods Inherited from Class wfcWParameterOwner::
Methods Inherited from Class pfcRelationOwner::
Methods Inherited from Class wfcWRelationOwner::
Methods Inherited from Class pfcChild::
Methods Inherited from Class pfcModelItem::
Methods Inherited from Class wfcWModelItem::
Methods Inherited from Class wfcAnnotation::
Method Summary
void
LICENSE: 222
LICENSE: 222
Retrieve the surfaces referenced by a surface finish annotation.
LICENSE: 222
LICENSE: 222
Retrieve the symbol instructions from a surface finish.
Retrieve the value of a surface finish annotation. If getting the value of a surface finish based on a symbol, this gets the value of the variable text "roughness_height". Retrieve other values using wfcSurfaceFinish::GetSymbolInstructions.
void
LICENSE: 222
Modify a surface finish.
void
LICENSE: 222
void
SetValue (xreal Value)
Set the value of a surface finish annotation. If setting the value of a surface finish based on a symbol, this sets the value of the variable text "roughness_height". Modify other values using wfcSurfaceFinish::Modify().
void
Show ()
Method Detail
void
SetValue
(xreal Value)
Set the value of a surface finish annotation. If setting the value of a surface finish based on a symbol, this sets the value of the variable text "roughness_height". Modify other values using wfcSurfaceFinish::Modify().
Exceptions thrown (but not limited to):
pfcXToolkitNoLicense - License check failure.
pfcXToolkitBadContext - The surface finish does not have a value named 'roughness_height' (for symbol based surface finishes).
pfcXToolkitInvalidType - The surface finish roughness height is not a numeric value.
pfcXToolkitCantWrite - Could not modify the given item because it has read-only access.
User Guide References:
Parameters:
Value
The value of the surface finish.
Returns:
GetValue
()
Retrieve the value of a surface finish annotation. If getting the value of a surface finish based on a symbol, this gets the value of the variable text "roughness_height". Retrieve other values using wfcSurfaceFinish::GetSymbolInstructions.
Exceptions thrown (but not limited to):
pfcXToolkitNoLicense - License check failure.
pfcXToolkitBadContext - The surface finish does not have a value named 'roughness_height' (for symbol based surface finishes).
pfcXToolkitInvalidType - The surface finish roughness height is not a numeric value.
User Guide References:
Returns:
The value of the surface finish.
GetSurfaceCollection
()
LICENSE: 222
Exceptions thrown (but not limited to):
pfcXToolkitBadContext - The surface finish is not in an annotation element and cannot use a surface collection reference.
pfcXToolkitNoLicense - License check failure.
User Guide References:
Returns:
GetReferences
()
LICENSE: 222
Retrieve the surfaces referenced by a surface finish annotation.
Exceptions thrown (but not limited to):
pfcXToolkitNoLicense - License check failure.
User Guide References:
Returns:
Array of surfaces referenced by the surface finish.
void
SetSurfaceCollection
LICENSE: 222
Exceptions thrown (but not limited to):
pfcXToolkitBadContext - The surface finish is not in an annotation element and cannot use a surface collection reference.
pfcXToolkitNoLicense - License check failure.
pfcXToolkitCantWrite - Could not modify the given item because it has read-only access.
User Guide References:
Parameters:
Collection
Returns:
GetAnnotationPlane
()
LICENSE: 222
Returns:
void
Modify
LICENSE: 222
Modify a surface finish.
Exceptions thrown (but not limited to):
pfcXToolkitInvalidType - Invalid type of leader or attachment for creation of a surface finish.
pfcXToolkitFound - Leader or attachment to surface which already has a surface finish other than the one being modified.
pfcXToolkitBadContext - The surface finish is not based on a symbol (and cannot be modified using symbol data).
pfcXToolkitNoLicense - License check failure
pfcXToolkitCantWrite - Could not modify the given item because it has read-only access.
User Guide References:
Parameters:
SymbolInstructions
The symbol instructions that govern the surface finish.
AnnotPlane
Returns:
GetSymbolInstructions
(pfcDimDisplayMode DisplayMode)
LICENSE: 222
Retrieve the symbol instructions from a surface finish.
Exceptions thrown (but not limited to):
pfcXToolkitBadContext - The surface finish is not based on a symbol (and cannot be represented using symbol data).
pfcXToolkitNoLicense - License check failure
User Guide References:
Parameters:
DisplayMode
The display mode for the symbol retrieval.
pfcDISPMODE_NUMERIC - callouts will be represented by their values.
pfcDISPMODE_SYMBOLIC - callouts will contain the names of the referenced parameters.
Returns:
The symbol instructions that govern the surface finish.
void
Delete
()
Exceptions thrown (but not limited to):
pfcXToolkitNoLicense - License check failure.
pfcXToolkitCantWrite - Could not delete the given item because it has read-only access.
User Guide References:
Returns:
void
Show
()
Exceptions thrown (but not limited to):
pfcXToolkitNoChange - The annotation is already shown in the target model.
pfcXToolkitInvalidMatrix - The annotation cannot be shown due to orientation conflicts in the view.
pfcXToolkitNoLicense - License check failure.
pfcXToolkitNotDisplayed - Annotation is present on hidden or blank layer and so can't be shown.
User Guide References:
Returns:
Was this helpful?