<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338712#M84799</link>
    <description>No. For some reason, the extender classes (everything ending&lt;BR /&gt;
in "EX") do not operate properly under VisualLISP. The&lt;BR /&gt;
problem lies in passing an object reference to the extender&lt;BR /&gt;
class. Let's say we have a ViewportEx object named vx and an&lt;BR /&gt;
AcadPViewport object named v.&lt;BR /&gt;
&lt;BR /&gt;
In VB/VBA:&lt;BR /&gt;
&lt;BR /&gt;
Set vx.Viewport = v&lt;BR /&gt;
&lt;BR /&gt;
In VLISP:&lt;BR /&gt;
&lt;BR /&gt;
(vlax-put-property vx 'Viewport v)&lt;BR /&gt;
&lt;BR /&gt;
The VLISP example bombs with the error message "Library not&lt;BR /&gt;
registered". I don't know where the problem is so I haven't&lt;BR /&gt;
been able to fix it. However, I would like to point out that&lt;BR /&gt;
vbXtender is largely redundant in the LISP environment since&lt;BR /&gt;
LISP has access to just about everything exposed by&lt;BR /&gt;
vbXtender.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Rodney McManamy" &lt;MCMANAMY&gt; wrote in&lt;BR /&gt;
message&lt;BR /&gt;
news:059147288D703D15B5C37C453F771744@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Frank,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Can he also use the ActiveX in VisualLISP to access the&lt;BR /&gt;
functions in the&lt;BR /&gt;
&amp;gt; vbXtender?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; Rodney McManamy&lt;BR /&gt;
&amp;gt; President&lt;BR /&gt;
&amp;gt; MACSolids&lt;BR /&gt;
&amp;gt; Maximizing AutoCAD Solids&lt;/MCMANAMY&gt;</description>
    <pubDate>Wed, 02 May 2001 07:23:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2001-05-02T07:23:41Z</dc:date>
    <item>
      <title>VPlayer question</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338707#M84794</link>
      <description>Has anyone figured out a work around in VBA to freeze and thaw layers in&lt;BR /&gt;
viewports (VPLayer)?&lt;BR /&gt;
We freeze and thaw layers in viewports in paper space to set up layouts for&lt;BR /&gt;
structural plans and have made icon menus for&lt;BR /&gt;
groups of layers such as *-1, *-2 etc for floors and such.  Anyway, I've&lt;BR /&gt;
made a really usefull layer "group" manager to turn on and off these groups&lt;BR /&gt;
while working on the model - i.e. switch easilly back and forth between&lt;BR /&gt;
floors with several layers assigned to each floor.  I need to have the&lt;BR /&gt;
vplayer capability to set up the sheets.  I don't want to mess with plot and&lt;BR /&gt;
no plot because I don't want to see the layers.  VPlayer makes it all a&lt;BR /&gt;
little more error proof prior to plotting.  Anyway thats the scenario...If I&lt;BR /&gt;
can freeze and thaw in viewports then I can get rid of all kinds of icon&lt;BR /&gt;
clutter and have a tight little program.  P.S.  My layer group manager is&lt;BR /&gt;
modeless in 2000i untill I close it, so I had reall trouble with&lt;BR /&gt;
sendcommand.&lt;BR /&gt;
Any help would be appreciated.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Joe</description>
      <pubDate>Sat, 28 Apr 2001 21:24:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338707#M84794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-04-28T21:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: VPlayer question</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338708#M84795</link>
      <description>Have a look at vbXtender.arx. It's free and open source. The&lt;BR /&gt;
ViewportEx class exposes tons of functionality for the paper space&lt;BR /&gt;
viewport object, including the ability to control layer visibility.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
Win an autographed copy of&lt;BR /&gt;
"Mastering AutoCAD 2000 Objects"&lt;BR /&gt;
by Dietmar Rudolph&lt;BR /&gt;
&lt;BR /&gt;
"Joe Hoffmayer" &lt;HOFFMAYER&gt; wrote in message&lt;BR /&gt;
news:C1F51E1DDB2A02BD2CCC57F5A9E15555@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Has anyone figured out a work around in VBA&lt;BR /&gt;
&amp;gt; to freeze and thaw layers in viewports (VPLayer)?&lt;/HOFFMAYER&gt;</description>
      <pubDate>Sat, 28 Apr 2001 22:45:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338708#M84795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-04-28T22:45:18Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338709#M84796</link>
      <description>Frank,&lt;BR /&gt;
Thanks for the info...&lt;BR /&gt;
I have not figured out how exactly to use it yet.  I've know about this for&lt;BR /&gt;
a while and never really wanted to&lt;BR /&gt;
stray from what comes in the AutoCAD box.  Now this begs the question,&lt;BR /&gt;
should I bother to get into VB?&lt;BR /&gt;
I do a lot of engineering calculations and drafting that rely heavilly on&lt;BR /&gt;
A2Ki, Excel, Word and Access.  Should I&lt;BR /&gt;
stray from VBA and get into VB and C++?&lt;BR /&gt;
Anyway, I will try to use vbXtender, then ask questions.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Joe&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
news:D609F09D288813D2DD91B291D3419E0B@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Have a look at vbXtender.arx. It's free and open source. The&lt;BR /&gt;
&amp;gt; ViewportEx class exposes tons of functionality for the paper space&lt;BR /&gt;
&amp;gt; viewport object, including the ability to control layer visibility.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt; Win an autographed copy of&lt;BR /&gt;
&amp;gt; "Mastering AutoCAD 2000 Objects"&lt;BR /&gt;
&amp;gt; by Dietmar Rudolph&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Joe Hoffmayer" &lt;HOFFMAYER&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:C1F51E1DDB2A02BD2CCC57F5A9E15555@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Has anyone figured out a work around in VBA&lt;BR /&gt;
&amp;gt; &amp;gt; to freeze and thaw layers in viewports (VPLayer)?&lt;BR /&gt;
&amp;gt;&lt;/HOFFMAYER&gt;&lt;/FRANKO&gt;</description>
      <pubDate>Tue, 01 May 2001 19:33:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338709#M84796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-05-01T19:33:31Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338710#M84797</link>
      <description>I wouldn't go anywhere near C++ without a real compelling reason.&lt;BR /&gt;
However, VB makes good "middleware". You can use VB to roll all your&lt;BR /&gt;
logic into an ActiveX DLL, eliminating the problems associated with&lt;BR /&gt;
trying to maintain a library of routines that are used in different&lt;BR /&gt;
environments.&lt;BR /&gt;
&lt;BR /&gt;
However, when it comes to AutoCAD VB is not going to give you any&lt;BR /&gt;
additional leverage over VBA. There's just too much missing from the&lt;BR /&gt;
object model hence vbXtender and the like. If you do decide to try it&lt;BR /&gt;
out, don't hesitate to drop me an email or post here.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Joe Hoffmayer" &lt;HOFFMAYER&gt; wrote in message&lt;BR /&gt;
news:1D2F713364CFCC27F16E3FC0156DC06D@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Frank,&lt;BR /&gt;
&amp;gt; Thanks for the info...&lt;BR /&gt;
&amp;gt; I have not figured out how exactly to use it yet.  I've know about&lt;BR /&gt;
this for&lt;BR /&gt;
&amp;gt; a while and never really wanted to&lt;BR /&gt;
&amp;gt; stray from what comes in the AutoCAD box.  Now this begs the&lt;BR /&gt;
question,&lt;BR /&gt;
&amp;gt; should I bother to get into VB?&lt;BR /&gt;
&amp;gt; I do a lot of engineering calculations and drafting that rely&lt;BR /&gt;
heavilly on&lt;BR /&gt;
&amp;gt; A2Ki, Excel, Word and Access.  Should I&lt;BR /&gt;
&amp;gt; stray from VBA and get into VB and C++?&lt;BR /&gt;
&amp;gt; Anyway, I will try to use vbXtender, then ask questions.&lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Joe&lt;/HOFFMAYER&gt;</description>
      <pubDate>Tue, 01 May 2001 20:41:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338710#M84797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-05-01T20:41:35Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338711#M84798</link>
      <description>Frank,&lt;BR /&gt;
&lt;BR /&gt;
Can he also use the ActiveX in VisualLISP to access the functions in the&lt;BR /&gt;
vbXtender?&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Rodney McManamy&lt;BR /&gt;
President&lt;BR /&gt;
MACSolids&lt;BR /&gt;
Maximizing AutoCAD Solids&lt;BR /&gt;
rmcmanamy@macsolids.com&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
news:18FE19077ECDA9EC11C5FD53ADB7E266@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I wouldn't go anywhere near C++ without a real compelling reason.&lt;BR /&gt;
&amp;gt; However, VB makes good "middleware". You can use VB to roll all your&lt;BR /&gt;
&amp;gt; logic into an ActiveX DLL, eliminating the problems associated with&lt;BR /&gt;
&amp;gt; trying to maintain a library of routines that are used in different&lt;BR /&gt;
&amp;gt; environments.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; However, when it comes to AutoCAD VB is not going to give you any&lt;BR /&gt;
&amp;gt; additional leverage over VBA. There's just too much missing from the&lt;BR /&gt;
&amp;gt; object model hence vbXtender and the like. If you do decide to try it&lt;BR /&gt;
&amp;gt; out, don't hesitate to drop me an email or post here.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Joe Hoffmayer" &lt;HOFFMAYER&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:1D2F713364CFCC27F16E3FC0156DC06D@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Frank,&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks for the info...&lt;BR /&gt;
&amp;gt; &amp;gt; I have not figured out how exactly to use it yet.  I've know about&lt;BR /&gt;
&amp;gt; this for&lt;BR /&gt;
&amp;gt; &amp;gt; a while and never really wanted to&lt;BR /&gt;
&amp;gt; &amp;gt; stray from what comes in the AutoCAD box.  Now this begs the&lt;BR /&gt;
&amp;gt; question,&lt;BR /&gt;
&amp;gt; &amp;gt; should I bother to get into VB?&lt;BR /&gt;
&amp;gt; &amp;gt; I do a lot of engineering calculations and drafting that rely&lt;BR /&gt;
&amp;gt; heavilly on&lt;BR /&gt;
&amp;gt; &amp;gt; A2Ki, Excel, Word and Access.  Should I&lt;BR /&gt;
&amp;gt; &amp;gt; stray from VBA and get into VB and C++?&lt;BR /&gt;
&amp;gt; &amp;gt; Anyway, I will try to use vbXtender, then ask questions.&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; Joe&lt;BR /&gt;
&amp;gt;&lt;/HOFFMAYER&gt;&lt;/FRANKO&gt;</description>
      <pubDate>Wed, 02 May 2001 07:01:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338711#M84798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-05-02T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338712#M84799</link>
      <description>No. For some reason, the extender classes (everything ending&lt;BR /&gt;
in "EX") do not operate properly under VisualLISP. The&lt;BR /&gt;
problem lies in passing an object reference to the extender&lt;BR /&gt;
class. Let's say we have a ViewportEx object named vx and an&lt;BR /&gt;
AcadPViewport object named v.&lt;BR /&gt;
&lt;BR /&gt;
In VB/VBA:&lt;BR /&gt;
&lt;BR /&gt;
Set vx.Viewport = v&lt;BR /&gt;
&lt;BR /&gt;
In VLISP:&lt;BR /&gt;
&lt;BR /&gt;
(vlax-put-property vx 'Viewport v)&lt;BR /&gt;
&lt;BR /&gt;
The VLISP example bombs with the error message "Library not&lt;BR /&gt;
registered". I don't know where the problem is so I haven't&lt;BR /&gt;
been able to fix it. However, I would like to point out that&lt;BR /&gt;
vbXtender is largely redundant in the LISP environment since&lt;BR /&gt;
LISP has access to just about everything exposed by&lt;BR /&gt;
vbXtender.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
"Rodney McManamy" &lt;MCMANAMY&gt; wrote in&lt;BR /&gt;
message&lt;BR /&gt;
news:059147288D703D15B5C37C453F771744@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Frank,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Can he also use the ActiveX in VisualLISP to access the&lt;BR /&gt;
functions in the&lt;BR /&gt;
&amp;gt; vbXtender?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; Rodney McManamy&lt;BR /&gt;
&amp;gt; President&lt;BR /&gt;
&amp;gt; MACSolids&lt;BR /&gt;
&amp;gt; Maximizing AutoCAD Solids&lt;/MCMANAMY&gt;</description>
      <pubDate>Wed, 02 May 2001 07:23:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vplayer-question/m-p/338712#M84799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-05-02T07:23:41Z</dc:date>
    </item>
  </channel>
</rss>

