lmenich
Structural
- Apr 29, 2008
- 14
Back again in the pursuit of drawing through mathcad.
Now I'm trying to draw from mathcad in Autocad using the scipted component. Are other people doing this? My VBScript skills are pretty limited and I'm stuck at trying to find the commands for VBScript which will create a line, circle, polyline etc. in Autocad. I'm also unsure of how that command will go.
If i have something like this:
Dim acadPLine
Dim x(6)
x(0)=1 'setting x and y coordinates for 3 pt polyline
x(1)=1
x(2)=5
x(3)=6
x(4)=8
x(5)=12
Set acadPLine = fdsafdjsklajfd;(x) -- not sure what to put after this equal sign.
Any hints? Also having a really hard time finding resources on the internet for using VBScript in Autocad. Are there books or sites with information?
Now I'm trying to draw from mathcad in Autocad using the scipted component. Are other people doing this? My VBScript skills are pretty limited and I'm stuck at trying to find the commands for VBScript which will create a line, circle, polyline etc. in Autocad. I'm also unsure of how that command will go.
If i have something like this:
Dim acadPLine
Dim x(6)
x(0)=1 'setting x and y coordinates for 3 pt polyline
x(1)=1
x(2)=5
x(3)=6
x(4)=8
x(5)=12
Set acadPLine = fdsafdjsklajfd;(x) -- not sure what to put after this equal sign.
Any hints? Also having a really hard time finding resources on the internet for using VBScript in Autocad. Are there books or sites with information?