CuttingSectionAttributeControl
-
class
HPS.CuttingSectionAttributeControl: HPS.Control The HPS.CuttingSectionAttributeControl class is a smart pointer that is tied to a database object. This object is used to manipulate the various cutting section attributes. This table lists default values for the various segment attributes accessible from HPS.CuttingSectionAttributeControl.
Public Functions
-
CuttingSectionAttributeControl(HPS.CuttingSectionAttributeControl in_that) Initializes a control tied to the same object as in_that.
-
CuttingSectionAttributeControl(HPS.SegmentKey in_seg) Initializes a control tied to the segment in_seg.
-
override void
Dispose()
-
override HPS.Type
ObjectType() This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
Return: The declared type of the object in question, which may differ from the true, underlying type.
-
HPS.CuttingSectionAttributeControl
SetCappingLevel(HPS.CuttingSection.CappingLevel in_level) Sets the cutting section capping level.
Param in_level: The cutting section capping level. Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
SetCappingUsage(HPS.CuttingSection.CappingUsage in_usage) Sets the cutting section capping usage.
Param in_usage: The cutting section capping usage. Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
SetCuttingLevel(HPS.CuttingSection.CuttingLevel in_level) Sets the cutting section cutting level.
Param in_level: The cutting section cutting level. Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
SetEdgeWeight(float in_weight) Sets the cut edge weight.
Param in_weight: The edge weight to apply for cut edges. Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
SetEdgeWeight(float in_weight, HPS.Line.SizeUnits in_units) Sets the cut edge weight.
Param in_weight: The edge weight to apply for cut edges. Param in_units: The units of the weight given. Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
SetMaterialPreference(HPS.CuttingSection.MaterialPreference in_preference) Sets the material preference for cut geometry.
Param in_preference: The material preference for cut geometry. Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
SetTolerance(float in_tolerance, HPS.CuttingSection.ToleranceUnits in_units) Sets the tolerance for closing loops when processing capping faces.
Param in_tolerance: The tolerance to use. Param in_units: How to interpret the given tolerance. Return: A reference to this object.
-
bool
ShowCappingLevel(out HPS.CuttingSection.CappingLevel out_level) Shows the cutting section capping level setting.
Param out_level: The cutting section capping level. Return: true if a cutting section capping level setting was specified, false otherwise.
-
bool
ShowCappingUsage(out HPS.CuttingSection.CappingUsage out_usage) Shows the cutting section capping usage setting.
Return: true if a cutting section capping usage setting was specified, false otherwise.
-
bool
ShowCuttingLevel(out HPS.CuttingSection.CuttingLevel out_level) Shows the cutting section cutting level setting.
Param out_level: The cutting section cutting level. Return: true if a cutting section cutting level setting was specified, false otherwise.
-
bool
ShowEdgeWeight(out float out_weight, out HPS.Line.SizeUnits out_units) Shows the weight of cut edges.
Param out_weight: The weight value for cut edges. Param out_units: The units applied to in_weight. Return: true if the setting is valid, false otherwise.
-
bool
ShowMaterialPreference(out HPS.CuttingSection.MaterialPreference out_preference) Shows the orientation of colors and radii of cylinders.
Param out_preference: The material preference for cut geometry. Return: true if a material preference for cut geometry was specified, false otherwise.
-
bool
ShowTolerance(out float out_tolerance, out HPS.CuttingSection.ToleranceUnits out_units) Shows the tolerance for closing loops when processing capping faces.
Param out_tolerance: The tolerance to use. Param out_units: The units for the tolerance. Return: true if the setting is valid, false otherwise.
-
HPS.CuttingSectionAttributeControl
UnsetCappingLevel() Removes the cutting section capping level setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
UnsetCappingUsage() Removes the cutting section capping usage setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
UnsetCuttingLevel() Removes the cutting section cutting level setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
UnsetEdgeWeight() Removes the cutting section cut edge weight setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
UnsetEverything() Removes all settings from this object. If the control is attached to a WindowKey this function restores the default settings of this control as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
UnsetMaterialPreference() Removes the material preference for cut geometry setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CuttingSectionAttributeControl
UnsetTolerance() Removes the cutting section capping tolerance setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CuttingSectionAttributeKit.GetDefault().
Return: A reference to this object.
-