.NET

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

Moving Block

212 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,449
Registered: ‎04-09-2008
Message 2 of 3 (196 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: 217
Registered: ‎08-24-2010
Message 3 of 3 (190 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!