Prompting user to select point in AutoCad using VB/VB.NET
-
hi using vb, i can open a AutoCad drawing and pass few values/commands to the autocad.This is one way communication i.e from vb to Autocad now i need two way communication i.e vb to AutocAD (which i said above) AND AutoCad to vb AutoCad to vb means when AutoCad Drawing is opened using vb if user picks/select a point in Auto Cad then i want to show a vb form is it possible
-
hi using vb, i can open a AutoCad drawing and pass few values/commands to the autocad.This is one way communication i.e from vb to Autocad now i need two way communication i.e vb to AutocAD (which i said above) AND AutoCad to vb AutoCad to vb means when AutoCad Drawing is opened using vb if user picks/select a point in Auto Cad then i want to show a vb form is it possible
This depends on several things; 1) what method is being used to send the messages to Autocad, is it simply command line arguments, DDE or some other protocol 2) What does the Autocad documentation tell you? does it have any automation API's that support communication Have you tried searching Google or the Autocad support forums?
-
This depends on several things; 1) what method is being used to send the messages to Autocad, is it simply command line arguments, DDE or some other protocol 2) What does the Autocad documentation tell you? does it have any automation API's that support communication Have you tried searching Google or the Autocad support forums?
hi thanks for your reply 1)i didnt used any method till now, thats what i want to know what method is used to show a form when user selects a point or object in Autocad. i explain you where i stucked ..... Data i have is a autocad drawing file is stored at a place in the user system Step1)i will open the Drawing file by using path specifed by the user step2)the drawing file is opened using step1 and at this stage user will picks or selects a point in the drawing file then i have to show a form designed in vb i stucked at this stage, i can open only the drawing file is it possible with vb.net or vb or vba i searched in google and found few articles , i followed them but i could not achevied it
-
hi thanks for your reply 1)i didnt used any method till now, thats what i want to know what method is used to show a form when user selects a point or object in Autocad. i explain you where i stucked ..... Data i have is a autocad drawing file is stored at a place in the user system Step1)i will open the Drawing file by using path specifed by the user step2)the drawing file is opened using step1 and at this stage user will picks or selects a point in the drawing file then i have to show a form designed in vb i stucked at this stage, i can open only the drawing file is it possible with vb.net or vb or vba i searched in google and found few articles , i followed them but i could not achevied it
I think your best bet is to start your research here: http://through-the-interface.typepad.com/through_the_interface/2006/07/getting_started.html[^] And http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627[^]