Can any one tell me how to pass value to command prompt of AutoCAD drawing from vb6. The drawing which I want to pass value is not saved
Can any one tell me how to pass value to command prompt of AutoCAD drawing from vb6. The drawing which I want to pass value is not saved
There needs to be more information provided:
Yes I can but I need to know what value, and in what context. Otherwise I am wasting time and guessing.Can any one tell me how to pass value to command prompt of AutoCAD drawing from vb6
I am not sure this matters but since i have no idea what you are trying to do ............................The drawing which I want to pass value is not saved
I have to send command to AutoCAD command prompt. I have code for sending command to already saved drawing. It is working fine. But how to pass command to a not saved drawing(i.e the drawing is not saved even once). I have opened a new drawing and kept it in a minimized stage. Now on click of a button from vb6 I want to pass command to that drawing which is not saved even once and kept as minimized.
for example
doc.sendcommand="command"
I hope you understood what I need.
for example doc.SendCommand "line 1.0,1.0,0.0 10.0,10.0,0.0 "
Can you give some code how to call not saved drawing from vb
saranya,
I do not understand what you are asking for. The drawing will accept commands no matter if it is saved or not. If you would post some of your code that you are trying then, I may be able to guide you in the correct direction or even figure out what to do, to get it to do what you want. But in order to do this I have to understand what you want or desire.