.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HOW TO MOVE GROUP (POLYLINE + TEXT) ALONG X AXIS ? - .NET

4 REPLIES 4
Reply
Message 1 of 5
staz004
1574 Views, 4 Replies

HOW TO MOVE GROUP (POLYLINE + TEXT) ALONG X AXIS ? - .NET

i have 2 groups (include: polyline,text) and i want to move them along X axis.(or y axis) USe VB.net Code

Any help me, please

Thanks so much

 

MOVEX.PNG

4 REPLIES 4
Message 2 of 5
Balaji_Ram
in reply to: staz004

Hi,

 

Here is a nice sample on using a DrawJig :

 

http://spiderinnet1.typepad.com/blog/2012/05/autocad-net-use-drawjig-to-move-multiple-entities-as-ma...

 

After you acquire the point coordinates in the "Sampler" method, the coordinates of the point can be changed to constrain the movement along x / y axis.

 

Regards,

Balaji



Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 5
staz004
in reply to: staz004

WHo can give me another solutions ? 

 

Message 4 of 5
fieldguy
in reply to: staz004
Message 5 of 5
khoa.ho
in reply to: staz004

Hi,

 

Without Visual Studio and copy/paste code, you can try a new AutoCAD plug-in .NETScript, which is available at NetOnApp.com. From this plug-in, point to "Blogs/Drive AutoCAD with Code/Creating a Move command with .NET.html" to click and run the code really quick.

 

You can even use web browser (Chrome, Firefox...) to drive AutoCAD. Use this link to execute the Move command from web browser.

 

-Khoa

Web programming for AutoCAD

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost