ducpy.classes.StandardsClass ============================ .. py:module:: ducpy.classes.StandardsClass Classes ------- .. autoapisummary:: ducpy.classes.StandardsClass.GridStyle ducpy.classes.StandardsClass.PolarGridSettings ducpy.classes.StandardsClass.IsometricGridSettings ducpy.classes.StandardsClass.GridSettings ducpy.classes.StandardsClass.SnapOverride ducpy.classes.StandardsClass.DynamicSnapSettings ducpy.classes.StandardsClass.PolarTrackingSettings ducpy.classes.StandardsClass.TrackingLineStyle ducpy.classes.StandardsClass.LayerSnapFilters ducpy.classes.StandardsClass.SnapMarkerStyle ducpy.classes.StandardsClass.SnapMarkerStyleEntry ducpy.classes.StandardsClass.SnapMarkerSettings ducpy.classes.StandardsClass.SnapSettings ducpy.classes.StandardsClass.UnitSystemBase ducpy.classes.StandardsClass.LinearUnitSystem ducpy.classes.StandardsClass.AngularUnitSystem ducpy.classes.StandardsClass.AlternateUnits ducpy.classes.StandardsClass.PrimaryUnits ducpy.classes.StandardsClass.StandardUnits ducpy.classes.StandardsClass.UnitPrecision ducpy.classes.StandardsClass.StandardOverrides ducpy.classes.StandardsClass.IdentifiedCommonStyle ducpy.classes.StandardsClass.IdentifiedStackLikeStyle ducpy.classes.StandardsClass.IdentifiedTextStyle ducpy.classes.StandardsClass.IdentifiedDimensionStyle ducpy.classes.StandardsClass.IdentifiedLeaderStyle ducpy.classes.StandardsClass.IdentifiedFCFStyle ducpy.classes.StandardsClass.IdentifiedTableStyle ducpy.classes.StandardsClass.IdentifiedDocStyle ducpy.classes.StandardsClass.IdentifiedViewportStyle ducpy.classes.StandardsClass.IdentifiedHatchStyle ducpy.classes.StandardsClass.IdentifiedXRayStyle ducpy.classes.StandardsClass.StandardStyles ducpy.classes.StandardsClass.IdentifiedGridSettings ducpy.classes.StandardsClass.IdentifiedSnapSettings ducpy.classes.StandardsClass.IdentifiedUcs ducpy.classes.StandardsClass.IdentifiedView ducpy.classes.StandardsClass.StandardViewSettings ducpy.classes.StandardsClass.DimensionValidationRules ducpy.classes.StandardsClass.LayerValidationRules ducpy.classes.StandardsClass.StandardValidation ducpy.classes.StandardsClass.Standard Module Contents --------------- .. py:class:: GridStyle .. py:attribute:: color :type: str .. py:attribute:: opacity :type: float .. py:attribute:: dash_pattern :type: Optional[List[float]] .. py:class:: PolarGridSettings .. py:attribute:: radial_divisions :type: int .. py:attribute:: radial_spacing :type: float .. py:attribute:: show_labels :type: bool .. py:class:: IsometricGridSettings .. py:attribute:: left_angle :type: float .. py:attribute:: right_angle :type: float .. py:class:: GridSettings .. py:attribute:: is_adaptive :type: bool .. py:attribute:: x_spacing :type: float .. py:attribute:: y_spacing :type: float .. py:attribute:: subdivisions :type: int .. py:attribute:: origin :type: GeometricPoint .. py:attribute:: rotation :type: float .. py:attribute:: follow_ucs :type: bool .. py:attribute:: major_style :type: GridStyle .. py:attribute:: minor_style :type: GridStyle .. py:attribute:: show_minor :type: bool .. py:attribute:: min_zoom :type: float .. py:attribute:: max_zoom :type: float .. py:attribute:: auto_hide :type: bool .. py:attribute:: enable_snapping :type: bool .. py:attribute:: readonly :type: bool .. py:attribute:: type :type: ducpy.Duc.GRID_TYPE.GRID_TYPE .. py:attribute:: display_type :type: ducpy.Duc.GRID_DISPLAY_TYPE.GRID_DISPLAY_TYPE .. py:attribute:: polar_settings :type: Optional[PolarGridSettings] .. py:attribute:: isometric_settings :type: Optional[IsometricGridSettings] .. py:class:: SnapOverride .. py:attribute:: key :type: str .. py:attribute:: behavior :type: Optional[ducpy.Duc.SNAP_OVERRIDE_BEHAVIOR.SNAP_OVERRIDE_BEHAVIOR] .. py:class:: DynamicSnapSettings .. py:attribute:: enabled_during_drag :type: bool .. py:attribute:: enabled_during_rotation :type: bool .. py:attribute:: enabled_during_scale :type: bool .. py:class:: PolarTrackingSettings .. py:attribute:: enabled :type: bool .. py:attribute:: angles :type: List[float] .. py:attribute:: track_from_last_point :type: bool .. py:attribute:: show_polar_coordinates :type: bool .. py:attribute:: increment_angle :type: Optional[float] .. py:class:: TrackingLineStyle .. py:attribute:: color :type: str .. py:attribute:: opacity :type: float .. py:attribute:: dash_pattern :type: List[float] .. py:class:: LayerSnapFilters .. py:attribute:: include_layers :type: List[str] .. py:attribute:: exclude_layers :type: List[str] .. py:class:: SnapMarkerStyle .. py:attribute:: shape :type: ducpy.Duc.SNAP_MARKER_SHAPE.SNAP_MARKER_SHAPE .. py:attribute:: color :type: str .. py:class:: SnapMarkerStyleEntry .. py:attribute:: key :type: ducpy.Duc.OBJECT_SNAP_MODE.OBJECT_SNAP_MODE .. py:attribute:: value :type: SnapMarkerStyle .. py:class:: SnapMarkerSettings .. py:attribute:: enabled :type: bool .. py:attribute:: size :type: int .. py:attribute:: styles :type: List[SnapMarkerStyleEntry] .. py:attribute:: duration :type: Optional[int] :value: None .. py:class:: SnapSettings .. py:attribute:: readonly :type: bool .. py:attribute:: twist_angle :type: float .. py:attribute:: snap_tolerance :type: int .. py:attribute:: object_snap_aperture :type: int .. py:attribute:: is_ortho_mode_on :type: bool .. py:attribute:: polar_tracking :type: PolarTrackingSettings .. py:attribute:: is_object_snap_on :type: bool .. py:attribute:: active_object_snap_modes :type: List[ducpy.Duc.OBJECT_SNAP_MODE.OBJECT_SNAP_MODE] .. py:attribute:: snap_priority :type: List[ducpy.Duc.OBJECT_SNAP_MODE.OBJECT_SNAP_MODE] .. py:attribute:: show_tracking_lines :type: bool .. py:attribute:: dynamic_snap :type: DynamicSnapSettings .. py:attribute:: snap_markers :type: SnapMarkerSettings .. py:attribute:: construction_snap_enabled :type: bool .. py:attribute:: tracking_line_style :type: Optional[TrackingLineStyle] .. py:attribute:: temporary_overrides :type: Optional[List[SnapOverride]] .. py:attribute:: incremental_distance :type: Optional[float] .. py:attribute:: magnetic_strength :type: Optional[float] .. py:attribute:: layer_snap_filters :type: Optional[LayerSnapFilters] .. py:attribute:: element_type_filters :type: Optional[List[str]] .. py:attribute:: snap_mode :type: Optional[ducpy.Duc.SNAP_MODE.SNAP_MODE] .. py:attribute:: snap_to_grid_intersections :type: Optional[bool] .. py:class:: UnitSystemBase .. py:attribute:: precision :type: int .. py:attribute:: suppress_leading_zeros :type: bool .. py:attribute:: suppress_trailing_zeros :type: bool .. py:attribute:: system :type: ducpy.Duc.UNIT_SYSTEM.UNIT_SYSTEM .. py:class:: LinearUnitSystem Bases: :py:obj:`UnitSystemBase` .. py:attribute:: suppress_zero_feet :type: bool .. py:attribute:: suppress_zero_inches :type: bool .. py:attribute:: format :type: ducpy.Duc.DIMENSION_UNITS_FORMAT.DIMENSION_UNITS_FORMAT .. py:attribute:: decimal_separator :type: ducpy.Duc.DECIMAL_SEPARATOR.DECIMAL_SEPARATOR .. py:class:: AngularUnitSystem Bases: :py:obj:`UnitSystemBase` .. py:attribute:: format :type: ducpy.Duc.ANGULAR_UNITS_FORMAT.ANGULAR_UNITS_FORMAT .. py:class:: AlternateUnits Bases: :py:obj:`UnitSystemBase` .. py:attribute:: is_visible :type: bool .. py:attribute:: multiplier :type: float .. py:attribute:: format :type: ducpy.Duc.DIMENSION_UNITS_FORMAT.DIMENSION_UNITS_FORMAT .. py:class:: PrimaryUnits .. py:attribute:: linear :type: Optional[LinearUnitSystem] .. py:attribute:: angular :type: Optional[AngularUnitSystem] .. py:class:: StandardUnits .. py:attribute:: primary_units :type: PrimaryUnits .. py:attribute:: alternate_units :type: AlternateUnits .. py:class:: UnitPrecision .. py:attribute:: linear :type: int .. py:attribute:: angular :type: int .. py:attribute:: area :type: int .. py:attribute:: volume :type: int .. py:class:: StandardOverrides .. py:attribute:: unit_precision :type: Optional[UnitPrecision] .. py:attribute:: main_scope :type: Optional[str] .. py:attribute:: elements_stroke_width_override :type: Optional[float] .. py:attribute:: common_style_id :type: Optional[str] .. py:attribute:: stack_like_style_id :type: Optional[str] .. py:attribute:: text_style_id :type: Optional[str] .. py:attribute:: dimension_style_id :type: Optional[str] .. py:attribute:: leader_style_id :type: Optional[str] .. py:attribute:: feature_control_frame_style_id :type: Optional[str] .. py:attribute:: table_style_id :type: Optional[str] .. py:attribute:: doc_style_id :type: Optional[str] .. py:attribute:: viewport_style_id :type: Optional[str] .. py:attribute:: plot_style_id :type: Optional[str] .. py:attribute:: hatch_style_id :type: Optional[str] .. py:attribute:: active_grid_settings_id :type: Optional[List[str]] .. py:attribute:: active_snap_settings_id :type: Optional[str] .. py:attribute:: dash_line_override :type: Optional[str] .. py:class:: IdentifiedCommonStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucCommonStyle .. py:class:: IdentifiedStackLikeStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucStackLikeStyles .. py:class:: IdentifiedTextStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucTextStyle .. py:class:: IdentifiedDimensionStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucDimensionStyle .. py:class:: IdentifiedLeaderStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucLeaderStyle .. py:class:: IdentifiedFCFStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucFeatureControlFrameStyle .. py:class:: IdentifiedTableStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucTableStyle .. py:class:: IdentifiedDocStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucDocStyle .. py:class:: IdentifiedViewportStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucViewportStyle .. py:class:: IdentifiedHatchStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucHatchStyle .. py:class:: IdentifiedXRayStyle .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: style :type: ducpy.classes.ElementsClass.DucXRayStyle .. py:class:: StandardStyles .. py:attribute:: common_styles :type: List[IdentifiedCommonStyle] :value: [] .. py:attribute:: stack_like_styles :type: List[IdentifiedStackLikeStyle] :value: [] .. py:attribute:: text_styles :type: List[IdentifiedTextStyle] :value: [] .. py:attribute:: dimension_styles :type: List[IdentifiedDimensionStyle] :value: [] .. py:attribute:: leader_styles :type: List[IdentifiedLeaderStyle] :value: [] .. py:attribute:: feature_control_frame_styles :type: List[IdentifiedFCFStyle] :value: [] .. py:attribute:: table_styles :type: List[IdentifiedTableStyle] :value: [] .. py:attribute:: doc_styles :type: List[IdentifiedDocStyle] :value: [] .. py:attribute:: viewport_styles :type: List[IdentifiedViewportStyle] :value: [] .. py:attribute:: hatch_styles :type: List[IdentifiedHatchStyle] :value: [] .. py:attribute:: xray_styles :type: List[IdentifiedXRayStyle] :value: [] .. py:class:: IdentifiedGridSettings .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: settings :type: GridSettings .. py:class:: IdentifiedSnapSettings .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: settings :type: SnapSettings .. py:class:: IdentifiedUcs .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: ucs :type: ducpy.classes.ElementsClass.DucUcs .. py:class:: IdentifiedView .. py:attribute:: id :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: view :type: ducpy.classes.ElementsClass.DucView .. py:class:: StandardViewSettings .. py:attribute:: views :type: List[IdentifiedView] .. py:attribute:: ucs :type: List[IdentifiedUcs] .. py:attribute:: grid_settings :type: List[IdentifiedGridSettings] .. py:attribute:: snap_settings :type: List[IdentifiedSnapSettings] .. py:class:: DimensionValidationRules .. py:attribute:: min_text_height :type: float .. py:attribute:: max_text_height :type: float .. py:attribute:: allowed_precisions :type: List[int] .. py:class:: LayerValidationRules .. py:attribute:: prohibited_layer_names :type: List[str] .. py:class:: StandardValidation .. py:attribute:: dimension_rules :type: Optional[DimensionValidationRules] .. py:attribute:: layer_rules :type: Optional[LayerValidationRules] .. py:class:: Standard .. py:attribute:: identifier :type: ducpy.classes.ElementsClass.Identifier .. py:attribute:: version :type: str .. py:attribute:: readonly :type: bool .. py:attribute:: overrides :type: Optional[StandardOverrides] .. py:attribute:: styles :type: Optional[StandardStyles] .. py:attribute:: view_settings :type: Optional[StandardViewSettings] .. py:attribute:: units :type: Optional[StandardUnits] .. py:attribute:: validation :type: Optional[StandardValidation]