AnsweredAssumed Answered

Setting initial model orientation

Question asked by Jack.Curran on Apr 20, 2020
Latest reply on Apr 23, 2020 by Jack.Curran

Hi everyone,

 

I'm trying to get my head around how I can control the initial orientation of some pre-made house models when generating from shapes imported from a fGDB. Below you can one house model generated on multiple footprints. These footprints have identical dimensions but different orientations. The one circled in green shows the correct model appearance, the ones in green (which have the footprints at a different orientation) show the same model, but in the same orientation as the green model, which is then skewed to fit the footprint at a different orientation.

I am currently doing nothing clever in the above - I am simply importing a model based on the start rule of the footprint.

 

One option I have is to create two versions of this house model in two orientations, and call the correct orientation by checking the width and depth of the building footprint. However, I will be working with hundreds of house models in this project, and I don't want to have to duplicate that library unnecessarily!

 

The other option is to manually set the first edge of each footprint which, in-turn, forces the model to be inserted in the correct orientation. However, I will be working with hundreds of footprints, so this manual process is not ideal. Additionally, if I want to edit any of my attributes in the fGDB, I would have to repeat this manual process when re-importing the shapes - definitely not ideal!

 

So my question is - is there a CGA master out there who can suggest some wizardry to get around this issue?

 

Many thanks in advance,

Jack

Outcomes