I want to set opposite perspective camera view in SketchUp with ruby. Here my code is
@minilion_instance = instance distance = 1.5 pers = getViewFromSide("xy",distance,instance) pers2 = getViewFromSide("-xy",distance,instance) axeDeTransformation1 = instance.transformation.xaxis axeDeTransformation2 = instance.transformation.yaxis axeDeTransformation = axeDeTransformation1 + axeDeTransformation2 distance = bounds.width * distance vector = axeDeTransformation.clone vector.length = distance if axe[0..0] == "-" || axe == "xy" vector.reverse! end
Perspective View :
If anyone has any solutions please help me.