Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Dave Preston" <In
href="mailto:dpreston@cadesignservices.co.uk">dpreston@cadesignservices.co.uk>
wrote in message
href="news:6058091@discussion.autodesk.com">news:6058091@discussion.autodesk.com...
AutoCAD 2006 I had a routine that would take an existing user selection,
filter out just dynamic blocks, then open the properties dialog. This
allows
them to change the visibility state but not have to individually
select the
dynamic blocks. The issue was that issuing the -vbarun command
deselected
the items, so I used (vla-runmacro (vlax-get-acad-object)
"FilterDynamicBlocks")
In 2009 when I try this I get the error
"(vla-runmacro
(vlax-get-acad-object) "FilterDynamicBlocks") ;
error:
no function definition: VLAX-GET-ACAD-OBJECT". Is this method
unsupported,
or is there a reasonable workaround?
--
Regards
Dave Preston
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>
wrote in message
href="news:6058126@discussion.autodesk.com">news:6058126@discussion.autodesk.com...
I think you may have posted in the wrong group, but
in
any case, it looks like a case of not calling
(vl-load-com)
before trying to use any vlax-* functions.
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">
"Dave Preston" <In
href="mailto:dpreston@cadesignservices.co.uk">dpreston@cadesignservices.co.uk>
wrote in message
href="news:6058091@discussion.autodesk.com">news:6058091@discussion.autodesk.com...
AutoCAD 2006 I had a routine that would take an existing user selection,
filter out just dynamic blocks, then open the properties dialog. This
allows
them to change the visibility state but not have to individually
select the
dynamic blocks. The issue was that issuing the -vbarun
command deselected
the items, so I used (vla-runmacro
(vlax-get-acad-object)
"FilterDynamicBlocks")
In 2009 when I try
this I get the error "(vla-runmacro
(vlax-get-acad-object)
"FilterDynamicBlocks") ; error:
no function definition:
VLAX-GET-ACAD-OBJECT". Is this method unsupported,
or is there a
reasonable workaround?
--
Regards
Dave
Preston