frompyteklaimportwrapmodel=wrap("Model.Model")# The returned value is a 'ModelObjectWrapper' Python generatorpicked_objects=model.pick_objects(object_type="part",prompt="Select parts from the model")
frompyteklaimportwrapmodel=wrap("Model.Model")# The returned value is a 'ModelObjectWrapper' Python generatorselected_objects=model.get_selected_objects()
frompyteklaimportwrapmodel=wrap("Model.Model")# The returned value is a 'ModelObjectWrapper' Python generatorobjects_with_types=model.get_objects_with_types(["Beam","Assembly"])
frompyteklaimportwrapmodel=wrap("Model.Model")# The returned value is a 'ModelObjectWrapper' Python generatorobjects_by_filter=model.get_objects_by_filter("Steel_All")
frompyteklaimportwrapmodel=wrap("Model.Model")# The returned value is a 'ModelObjectWrapper' Python generatorobjects_by_bounding_box=model.get_objects_by_bounding_box((0,0,0),(5000,5000,5000))