.NET

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

Moving Block

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

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

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

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

Moderator
Alexander.Rivilis
Posts: 1,417
Registered: ‎04-09-2008
Message 2 of 3 (190 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: 216
Registered: ‎08-24-2010
Message 3 of 3 (184 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

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 or visit the Installation and Licensing Forum to get help installing your software.