Automated Component Placement

ruby

#1

Hey guys,

I was curious if anyone has had any luck with the automation of placing components using ruby code or any other way.

Was curious how complicated i could get with automating the placement of components and component groups. Im an architectural draftsman at a small firm and i want to automate the process of estimating buildings. I have created all the components and am currently placing the components by hand. It doesnt take that long but i would like to automate some sections of the buildings which i design. Would love to hear suggestions. Thank you!


#2

You want to look at Entities#add_instance. The notes in the API docs show how to use it. the only thing you need to know is that the Transformation places the origin of the component definition in the model (and can also rotate or scale it if needed).