Inserting cad blocks from one file on another
Moderators: SDS, support, admin
-
- Posts: 11
- Joined: 17 Oct 2019, 09:33
Inserting cad blocks from one file on another
Hello Team,
I am in a situation in which I have 2 CAD images(Image1.dwg and Image2.dwg). I have opened image1.dwg and reading the contents or entities of image2.dwg.
I am storing the read entities inside a Block and placing it inside Vinsert at some coordinates (x = 111 and y = 116) as shown in the attached image( .
We are expecting that the image will be at our current mouse coordinates (x = 111 and y = 116) , But the block is inserting at some offset position(p,q).
Why is this happening?
can you give me guide and advice in detail.
I am in a situation in which I have 2 CAD images(Image1.dwg and Image2.dwg). I have opened image1.dwg and reading the contents or entities of image2.dwg.
I am storing the read entities inside a Block and placing it inside Vinsert at some coordinates (x = 111 and y = 116) as shown in the attached image( .
We are expecting that the image will be at our current mouse coordinates (x = 111 and y = 116) , But the block is inserting at some offset position(p,q).
Why is this happening?
can you give me guide and advice in detail.
Re: Inserting cad blocks from one file on another
Hello,
It may depend on a base point of the block coordinate system (CADBlock.Offset) and the way you specify the block insertion point. Could you please attach a DWG file containing the block and post a code which recreates the problem?
Mikhail
It may depend on a base point of the block coordinate system (CADBlock.Offset) and the way you specify the block insertion point. Could you please attach a DWG file containing the block and post a code which recreates the problem?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 11
- Joined: 17 Oct 2019, 09:33
Re: Inserting cad blocks from one file on another
Hello Mikhail,
Thanks for the support.
After adding CADBlock.Offset to the CADBlock the image is appearing in appropriate position.
Vijay
Thanks for the support.
After adding CADBlock.Offset to the CADBlock the image is appearing in appropriate position.
Vijay