.NET

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

Moving Block

199 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,398
Registered: ‎04-09-2008
Message 2 of 3 (183 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: 212
Registered: ‎08-24-2010
Message 3 of 3 (177 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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community