Sendcommand ?

Sendcommand ?

Anonymous
Not applicable
286 Views
3 Replies
Message 1 of 4

Sendcommand ?

Anonymous
Not applicable
If I use sendcommand and there is something reported back on the command line
can I access that information and how?

For instance if I used
thisdrawing.sendcommand "dimdli" & vbcr
could I access the value it returns?

I know I can get this a better way, but it is just a example.

--
Kent Keller

Check out the Mechanical Desktop FAQ @
http://webhome.idirect.com/~dfulford/
0 Likes
287 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Is this a situation where you can just use the 'GetVariable' method?

ThisDrawing.GetVariable(DIMDLI)

-- Walter -- http://www.ActiveDwg.com

Kent Keller wrote in message
news:[email protected]...
> If I use sendcommand and there is something reported back on the command
line
> can I access that information and how?
>
> For instance if I used
> thisdrawing.sendcommand "dimdli" & vbcr
> could I access the value it returns?
>
> I know I can get this a better way, but it is just a example.
>
> --
> Kent Keller
>
> Check out the Mechanical Desktop FAQ @
> http://webhome.idirect.com/~dfulford/
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
Hi Walter

I wish, but no. Dimdli was just a example. The ones I am after are unsupported
MDT variables.

--
Kent Keller

Check out the Mechanical Desktop FAQ @
http://webhome.idirect.com/~dfulford/

"Walter" wrote in message
news:[email protected]...
> Is this a situation where you can just use the 'GetVariable' method?
>
> ThisDrawing.GetVariable(DIMDLI)
>
> -- Walter -- http://www.ActiveDwg.com
>
> Kent Keller wrote in message
> news:[email protected]...
> > If I use sendcommand and there is something reported back on the command
> line
> > can I access that information and how?
> >
> > For instance if I used
> > thisdrawing.sendcommand "dimdli" & vbcr
> > could I access the value it returns?
> >
> > I know I can get this a better way, but it is just a example.
> >
> > --
> > Kent Keller
> >
> > Check out the Mechanical Desktop FAQ @
> > http://webhome.idirect.com/~dfulford/
> >
>
0 Likes
Message 4 of 4

Anonymous
Not applicable
Hi,

Did you try to get the LASTPROMPT system variable ?

Luc Morrissette,
Flairbase inc.

"Kent Keller" wrote in message
news:[email protected]...
> Hi Walter
>
> I wish, but no. Dimdli was just a example. The ones I am after are
unsupported
> MDT variables.
>
> --
> Kent Keller
>
> Check out the Mechanical Desktop FAQ @
> http://webhome.idirect.com/~dfulford/
>
> "Walter" wrote in message
> news:[email protected]...
> > Is this a situation where you can just use the 'GetVariable' method?
> >
> > ThisDrawing.GetVariable(DIMDLI)
> >
> > -- Walter -- http://www.ActiveDwg.com
> >
> > Kent Keller wrote in message
> > news:[email protected]...
> > > If I use sendcommand and there is something reported back on the
command
> > line
> > > can I access that information and how?
> > >
> > > For instance if I used
> > > thisdrawing.sendcommand "dimdli" & vbcr
> > > could I access the value it returns?
> > >
> > > I know I can get this a better way, but it is just a example.
> > >
> > > --
> > > Kent Keller
> > >
> > > Check out the Mechanical Desktop FAQ @
> > > http://webhome.idirect.com/~dfulford/
> > >
> >
>
0 Likes