TheSwamp

Code Red => .NET => Topic started by: gvgbabu on February 15, 2015, 02:59:50 AM

Title: Block insertion angle
Post by: gvgbabu on February 15, 2015, 02:59:50 AM
Hi
How to insert  block with angle in vb.net 2005?I'm
What property can we use?
Title: Re: Block insertion angle
Post by: gile on February 15, 2015, 03:49:38 AM
Hi,

You can use the BlockReference.Rotation property.
Extract from ObjectARX docs:
Quote
Accesses the rotation value (in radians) of the block reference. The rotation value is relative to the X axis of a coordinate system that is parallel to the OCS of the block reference, but has its origin at the position point of the block reference. The rotation axis is the Z axis of this coordinate system with positive rotations going counterclockwise when looking down the Z axis towards the origin.