Skip to content

How to transform global axis into local using python in cadwork? #128

@lucas-ita

Description

@lucas-ita

Hi,
Could someone please share a code snippet utilizing the apply_transformation_coordinate(elements, old_point, old_xl, old_yl, new_point, new_xl, new_yl) method? To aid our understanding, let's consider a practical example involving an inclined beam in Cadwork. Let's envision placing the beam in a scene and, subsequently, using the mentioned method to transform the global axis into local coordinates. The expected outcome is that the beam no longer remains inclined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions