Author Topic: Block insertion angle  (Read 1516 times)

0 Members and 1 Guest are viewing this topic.

gvgbabu

  • Guest
Block insertion angle
« 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?

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: Block insertion angle
« Reply #1 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.
Speaking English as a French Frog