Skip to content
Discussion options

You must be logged in to vote

This should get you going:

>>> import cadwork
>>> import element_controller
>>> import attribute_controller
>>> elem = element_controller.get_active_identifiable_element_ids()
>>> elem
[3438096]
>>> ot = attribute_controller.get_output_type(elem[0])
>>> ot
<cadwork.process_type object at 0x00000212D6D6BAF0>
>>> ot.is_stud()
True
>>> ot.set_purlin()
>>> attribute_controller.set_output_type(elem, ot)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@jspaquet
Comment options

@dan-montelo
Comment options

Comment options

You must be logged in to vote
2 replies
@deedend
Comment options

@deedend
Comment options

Answer selected by Brunner246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants