Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <i
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in message
href="news:6090780@discussion.autodesk.com">news:6090780@discussion.autodesk.com...
invoke a "sendstringtoexecute" from a modelless form but this command
dont
work because it is queue in application execution context so, how can
i
execute this command ?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6090923@discussion.autodesk.com">news:6090923@discussion.autodesk.com...
SendStringToExecute() from a modeless form works for
me.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000
through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/Acad...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <i
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6090780@discussion.autodesk.com">news:6090780@discussion.autodesk.com...
invoke a "sendstringtoexecute" from a modelless form but this command
dont
work because it is queue in application execution context so, how
can i
execute this command ?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in message
href="news:6091437@discussion.autodesk.com">news:6091437@discussion.autodesk.com...
I am in application context and i need to
execute sendstringtoexecute in document contest and i dont know how to do
it.
I was reading your program at
href="http://www.caddzone.com/PaletteUtils.cs">http://www.caddzone.com/PaletteUtils.cs but
i am a beginner of VB so i am in trouble.
Can you help me Tony?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6090923@discussion.autodesk.com">news:6090923@discussion.autodesk.com...
SendStringToExecute() from a modeless form works for
me.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD
2000 through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/Ac...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <i
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6090780@discussion.autodesk.com">news:6090780@discussion.autodesk.com...
invoke a "sendstringtoexecute" from a modelless form but this command
dont
work because it is queue in application execution context so, how
can i
execute this command
?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6091549@discussion.autodesk.com">news:6091549@discussion.autodesk.com...
Sorry, I don't understand what you mean by 'need to execute
sendstringtoexecute in document context'.
You call SendStringToExecute() from the
size=2>application context
(e.g., a Click handler of a button on a
palette) to execute commands.
PaletteUtils.cs is somewhat advanced and requires that
one
has some understanding and knowledge of the
API.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000
through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/Acad...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6091437@discussion.autodesk.com">news:6091437@discussion.autodesk.com...
I am in application context and i need to
execute sendstringtoexecute in document contest and i dont know how to do
it.
I was reading your program at
href="http://www.caddzone.com/PaletteUtils.cs">http://www.caddzone.com/PaletteUtils.cs but
i am a beginner of VB so i am in trouble.
Can you help me Tony?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6090923@discussion.autodesk.com">news:6090923@discussion.autodesk.com...
SendStringToExecute() from a modeless form works for
me.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD
2000 through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <i
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6090780@discussion.autodesk.com">news:6090780@discussion.autodesk.com...
invoke a "sendstringtoexecute" from a modelless form but this command
dont
work because it is queue in application execution context so,
how can i
execute this command
?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in message
href="news:6091651@discussion.autodesk.com">news:6091651@discussion.autodesk.com...
i have a symple program running in a
palette
it let me select files, after it open
they one by time, make some command (i.e. zoom extend) and save
it.
The problem is that they are saved before the
command is executed in document context.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6091549@discussion.autodesk.com">news:6091549@discussion.autodesk.com...
Sorry, I don't understand what you mean by 'need to
execute
sendstringtoexecute in document context'.
You call SendStringToExecute() from the
size=2>application context
(e.g., a Click handler of a button on
a palette) to execute commands.
PaletteUtils.cs is somewhat advanced and requires that
one
has some understanding and knowledge of the
API.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD
2000 through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/Ac...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6091437@discussion.autodesk.com">news:6091437@discussion.autodesk.com...
I am in application context and i need
to execute sendstringtoexecute in document contest and i dont know how to
do it.
I was reading your program at
href="http://www.caddzone.com/PaletteUtils.cs">http://www.caddzone.com/PaletteUtils.cs but
i am a beginner of VB so i am in trouble.
Can you help me
Tony?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6090923@discussion.autodesk.com">news:6090923@discussion.autodesk.com...
SendStringToExecute() from a modeless form works for
me.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD
2000 through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtab...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <i
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6090780@discussion.autodesk.com">news:6090780@discussion.autodesk.com...
invoke a "sendstringtoexecute" from a modelless form but this command
dont
work because it is queue in application execution context so,
how can i
execute this command
?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6091688@discussion.autodesk.com">news:6091688@discussion.autodesk.com...
You're not showing any code that would allow someone to
diagnose the problem, so i'm guessing that you are calling
the
SaveAs() method after calling SendStringToExecute(). If
that's
the case it explains what's happening.
You will need to find a way to wait until the last command
you
send to the command line has finished (the CommandEnded
event
sounds like it might work), and when it has, then you can
call
the SaveAs() method, or send "QSAVE" to the command line
if
you are saving back to the same file.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000
through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/Acad...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6091651@discussion.autodesk.com">news:6091651@discussion.autodesk.com...
i have a symple program running in a
palette
it let me select files, after it open
they one by time, make some command (i.e. zoom extend) and save
it.
The problem is that they are saved before the
command is executed in document context.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6091549@discussion.autodesk.com">news:6091549@discussion.autodesk.com...
Sorry, I don't understand what you mean by 'need to
execute
sendstringtoexecute in document context'.
You call SendStringToExecute() from the
size=2>application context
(e.g., a Click handler of a button
on a palette) to execute commands.
PaletteUtils.cs is somewhat advanced and requires that
one
has some understanding and knowledge of the
API.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD
2000 through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxtabs/...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote in
message
href="news:6091437@discussion.autodesk.com">news:6091437@discussion.autodesk.com...
I am in application context and i need
to execute sendstringtoexecute in document contest and i dont know how
to do it.
I was reading your program at
href="http://www.caddzone.com/PaletteUtils.cs">http://www.caddzone.com/PaletteUtils.cs but
i am a beginner of VB so i am in trouble.
Can you help me
Tony?
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Tony Tanzillo" <
href="mailto:tony.tanzillo@THE_URL_BELOW.com">tony.tanzillo@THE_URL_BELOW.com>
ha scritto nel messaggio
href="news:6090923@discussion.autodesk.com">news:6090923@discussion.autodesk.com...
SendStringToExecute() from a modeless form works for
me.
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting
AutoCAD 2000 through 2009
href="http://www.acadxtabs.com">http://www.acadxtabs.com
Introducing AcadXTabs 2010:
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm">http://www.caddzone.com/acadxt...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bux" <i
href="mailto:bux1963@hotmail.com">bux1963@hotmail.com> wrote
in message
href="news:6090780@discussion.autodesk.com">news:6090780@discussion.autodesk.com...
invoke a "sendstringtoexecute" from a modelless form but this
command dont
work because it is queue in application execution
context so, how can i
execute this command
?