Skip to content

Accessing element color in CwAPI3D Python #351

@Frmnt-Julien

Description

@Frmnt-Julien

Hello,

I would like to use something like attribute_controller.get_color(element_id) to get the color of an element in CwAPI3D, but it seems this function does not exist.

Is there another way to:

  • get the element color as a number (e.g. 200)
  • or detect if an element belongs to a specific CADwork color?

Thanks for your help

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