.NET

Reply
Mentor
Amremad
Posts: 209
Registered: ‎08-24-2010
Message 1 of 3 (187 Views)
Accepted Solution

Moving Block

187 Views, 2 Replies
04-04-2013 01:41 AM

How Can I move one block only from it's point to another point

Moderator
Alexander.Rivilis
Posts: 1,346
Registered: ‎04-09-2008
Message 2 of 3 (171 Views)

Re: Moving Block

04-04-2013 02:57 AM in reply to: Amremad

You can use Entity.TransformBy method with Matrix3d.Displacement(pOldPoint3d.GetVectorTo(pNewPoint3d))

pNewPoint3d and pOldPoint3d are new and old location of your block.


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Mentor
Amremad
Posts: 209
Registered: ‎08-24-2010
Message 3 of 3 (165 Views)

Re: Moving Block

04-04-2013 03:27 AM in reply to: Alexander.Rivilis

thank you very much , iam trying it now , i think it will work good

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community