I load a step file in Eyeshot. The step is created with Solidworks from a file.
if I add codes like:
Entity[] a1 = ((BlockReference)viewportLayout1.Entities[0]).GetEntities(viewportLayout1.Blocks);
Entity[] a2 = ((BlockReference)a1[1]).GetEntities(viewportLayout1.Blocks);
a2[0].Translate(0,0,1000);
Then a2[0] will move by (0,-1000,0) in viewport.
I want to all of entities to have their Coordinate-orientation be same. What I should do ?
I had try UpdateOrientedBoundingBox()
, and nothing happen.
I don't know if my parameters are wrong or it can't change file's entity assembly relationship (and... sorry! my english is awful.)