<?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 Getting plotter names in a pull down combo box. in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/getting-plotter-names-in-a-pull-down-combo-box/m-p/2623649#M14150</link>
    <description>Getting plotter names in a pull down combo box. &lt;BR /&gt;
Posted: Jan 28, 2010 12:27 PM       Reply  &lt;BR /&gt;
 &lt;BR /&gt;
Using AutoCad 2010, VBA.&lt;BR /&gt;
&lt;BR /&gt;
Is it possable to get the plot driver names and put them in a combo box for later&lt;BR /&gt;
programming uses.&lt;BR /&gt;
&lt;BR /&gt;
I am trying the following code but I am not having any luck.&lt;BR /&gt;
&lt;BR /&gt;
Private Sub CommandButton12_Click()&lt;BR /&gt;
Dim P As Object&lt;BR /&gt;
Dim p1 As Object&lt;BR /&gt;
Dim PL As String&lt;BR /&gt;
Dim x As Integer&lt;BR /&gt;
Set P = ThisDrawing.PlotConfigurations&lt;BR /&gt;
'Set p1 =&lt;BR /&gt;
PL = P.ConfigName&lt;BR /&gt;
ComboBox1.Value = "Plotter Name"&lt;BR /&gt;
For Each PL In P.ConfigName&lt;BR /&gt;
'ComboBox1.AddItem (P.Name)&lt;BR /&gt;
MsgBox P.Name&lt;BR /&gt;
Next&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
I am also interested in getting available pin files in a combo box but &lt;BR /&gt;
I need to figure out how to do it with plotter names first.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you,</description>
    <pubDate>Thu, 28 Jan 2010 15:17:25 GMT</pubDate>
    <dc:creator>muckmailer</dc:creator>
    <dc:date>2010-01-28T15:17:25Z</dc:date>
    <item>
      <title>Getting plotter names in a pull down combo box.</title>
      <link>https://forums.autodesk.com/t5/vba-forum/getting-plotter-names-in-a-pull-down-combo-box/m-p/2623649#M14150</link>
      <description>Getting plotter names in a pull down combo box. &lt;BR /&gt;
Posted: Jan 28, 2010 12:27 PM       Reply  &lt;BR /&gt;
 &lt;BR /&gt;
Using AutoCad 2010, VBA.&lt;BR /&gt;
&lt;BR /&gt;
Is it possable to get the plot driver names and put them in a combo box for later&lt;BR /&gt;
programming uses.&lt;BR /&gt;
&lt;BR /&gt;
I am trying the following code but I am not having any luck.&lt;BR /&gt;
&lt;BR /&gt;
Private Sub CommandButton12_Click()&lt;BR /&gt;
Dim P As Object&lt;BR /&gt;
Dim p1 As Object&lt;BR /&gt;
Dim PL As String&lt;BR /&gt;
Dim x As Integer&lt;BR /&gt;
Set P = ThisDrawing.PlotConfigurations&lt;BR /&gt;
'Set p1 =&lt;BR /&gt;
PL = P.ConfigName&lt;BR /&gt;
ComboBox1.Value = "Plotter Name"&lt;BR /&gt;
For Each PL In P.ConfigName&lt;BR /&gt;
'ComboBox1.AddItem (P.Name)&lt;BR /&gt;
MsgBox P.Name&lt;BR /&gt;
Next&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
I am also interested in getting available pin files in a combo box but &lt;BR /&gt;
I need to figure out how to do it with plotter names first.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you,</description>
      <pubDate>Thu, 28 Jan 2010 15:17:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/getting-plotter-names-in-a-pull-down-combo-box/m-p/2623649#M14150</guid>
      <dc:creator>muckmailer</dc:creator>
      <dc:date>2010-01-28T15:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting plotter names in a pull down combo box.</title>
      <link>https://forums.autodesk.com/t5/vba-forum/getting-plotter-names-in-a-pull-down-combo-box/m-p/2623650#M14151</link>
      <description>Try This:&lt;BR /&gt;
{code}&lt;BR /&gt;
Private Sub CommandButton1_Click()&lt;BR /&gt;
Dim L As Variant&lt;BR /&gt;
L = ThisDrawing.ActiveLayout.GetPlotDeviceNames&lt;BR /&gt;
ComboBox1.List = L&lt;BR /&gt;
End Sub&lt;BR /&gt;
{code}</description>
      <pubDate>Mon, 08 Feb 2010 03:52:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/getting-plotter-names-in-a-pull-down-combo-box/m-p/2623650#M14151</guid>
      <dc:creator>Mario-Villada</dc:creator>
      <dc:date>2010-02-08T03:52:12Z</dc:date>
    </item>
  </channel>
</rss>

