ObjectSnap#

Attribute Name

Data Type

Description

no

int

Object number

type

ObjectSnapType

Snap type

user_defined_name_enabled

bool

User-defined name enabled

name

str

Name

snap_nodes

bool

Nodes

snap_centers_and_focuses

bool

Centers and focuses

snap_intersections

bool

Intersections

snap_perpendicular

bool

Perpendicular

snap_extend

bool

Extend

snap_parallel

bool

Parallel

snap_tangent

bool

Tangent

snap_quadrants

bool

Quadrants

snap_parts

bool

Parts of line

snap_absolute_distance

bool

Absolute distance on line

snap_relative_distance

bool

Relative distance on line

snap_snappable_points_only

bool

Snappable points only

snap_guidelines

bool

Guidelines

snap_background_layers

bool

Background layers

snap_building_grids

bool

Building grids

comment

str

Comment

parts_count

int

Parts of line | n

absolute_distance

float

Absolute distance on line | d

relative_distance

float

Relative distance on line | d

absolute_distance_on_section_edge

float

Absolute distance on section edge

parts_of_section_edge_count

int

Parts of section edge

relative_distance_on_section_edge

float

Relative distance on section edge

snap_absolute_distance_on_section_edge

bool

Absolute distance on section edge

snap_corners

bool

Corners

snap_middle_edge

bool

Middle edge

snap_parts_of_section_edge

bool

Parts of section edge

snap_relative_distance_on_section_edge

bool

Relative distance on section edge

snap_surface_thickness_points

bool

Surface thickness points

id_for_export_import

str

metadata_for_export_import

str

Associated Enums#

ObjectSnapType#

Name

OBJECT_SNAP_TYPE_UNKNOWN

OBJECT_SNAP_TYPE_STANDARD