pycatia.cat_tps_interfaces.dimension_3d¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.cat_tps_interfaces.dimension_3d.Dimension3D(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDimension3DInterface Managing Semantic Dimension.- controled_radius() ControlledRadius ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ControledRadius() As ControledRadiusGet the Dimension on the Controled Radius interface.Parameters:oContRadiusThe Controled Radius.
- Return type:
ControledRadius
- dimension_limit() DimensionLimit ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func DimensionLimit() As DimensionLimitGets the Dimension on the DimensionLimit interface.Parameters:oDimLimThe Dimension Limits.
- Return type:
- dimension_pattern() DimensionPattern ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func DimensionPattern() As DimensionPatternGets the Dimension on the DimensionPattern interface.Parameters:oDimPattThe Dimension Pattern.
- Return type:
- envelope_condition() EnvelopeCondition ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func EnvelopCondition() As EnvelopConditionGets the Dimension on the EnvelopCondition interface.Parameters:oEnvCondThe Envelop Condition.
- Return type:
EnvelopCondition
- get_2d_annot() DrawingDimension ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Get2dAnnot() As DrawingDimensionRetrieves Drafting Dimension.Parameters:oDimThe Drafting Dimension.
- Return type:
- has_a_controlled_radius() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func HasAControledRadius() As booleanChecks if the Dimension has a Controled Radius.Parameters:oHasConRadTRUE: The dimension has a Controled RadiusFALSE: The dimension has not a ControledRadius
- Return type:
bool
- has_an_envelope_condition() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func HasAnEnvelopCondition() As booleanChecks if the Annotation has an Envelop Condition.Parameters:oHasEnvCondTRUE: The dimension has an Envelop ConditionFALSE: The dimension has not an EnvelopCondition
- Return type:
bool
- has_dimension_limit() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func HasDimensionLimit() As booleanChecks if the Dimension has a Dimension Limit.Parameters:oHasDimLimTRUE: Dimension Limit existsFALSE: Dimension Limit does not exist
- Return type:
bool
- is_a_dimension_pattern() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func IsADimensionPattern() As booleanChecks if the Semantic Dimension is a Dimension Pattern.Parameters:oIsADimPattTRUE: The dimension is a Dimension PatternFALSE: The dimension is not a DimensionPattern
- Return type:
bool
- move_value(x: float, y: float, sub_part: int, dim_angle_behavior: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub MoveValue(double X,double Y,long SubPart,long DimAngleBehavior)Moves the dimension value at a given point.Returns:HRESULT error returned code If the modification of the vertical offset value can not be performed because the parameter is locked in the current standard, the method return HRESULT = S_READ_ONLY.Parameters:XPoint abscissa on which the dimension value will be positionned.YPoint ordinate on which the dimension value will be positionned.SubPartDefines which part of the dimension should bemoved-1 = Value (vertical move is take account according ptPos coordinates)0 = Both dimension line and value1 = Value2 = Dimension line3 = Secondary part4 = Secondary part and value5 = Secondary part and dimension line6 = Secondary part, dimension line and value7 = Value leader (for dimension line with leader one part or two parts)DimAngleBehaviorDefines angle dimension line behavior.0 = Sector angle is switched when ptPos is in opposite sector (Default)1 = Sector angle is kept what ever ptPos placementExample:This example move dimension value MyDimensionpath.MyDimension.MoveValue(X, Y, SubPart,DimAngleBehavior)
- Parameters:
x (float) –
y (float) –
sub_part (int) –
dim_angle_behavior (int) –
- Return type:
None