What are standard element types? #256
Answered
by
Brunner246
Euclid-Bjoern
asked this question in
Q&A
-
|
I'm trying to use the function element_controller.start_standard_element_dialog(standard_element_type), but I keep getting the error that I'm entering the wrong argument. It would be nice to be able to have the user select the standard element he wants to insert. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
Brunner246
May 28, 2025
Replies: 1 comment 1 reply
-
import element_controller as ec
import cadwork
ec.start_standard_element_dialog(cadwork.standard_element_type.beam)
# available types
class standard_element_type(IntEnum):
"""standard element type
Examples:
>>> cadwork.standard_element_type.beam
beam
"""
beam = 0
""""""
panel = 2
""""""
vba = 3
""""""
exportSolid = 4
""""""
container = 5
""""""
metal = 6
"""""" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Euclid-Bjoern
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Euclid-Bjoern