Message 1 of 2
Getting plotter names in a pull down combo box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Getting plotter names in a pull down combo box.
Posted: Jan 28, 2010 12:27 PM Reply
Using AutoCad 2010, VBA.
Is it possable to get the plot driver names and put them in a combo box for later
programming uses.
I am trying the following code but I am not having any luck.
Private Sub CommandButton12_Click()
Dim P As Object
Dim p1 As Object
Dim PL As String
Dim x As Integer
Set P = ThisDrawing.PlotConfigurations
'Set p1 =
PL = P.ConfigName
ComboBox1.Value = "Plotter Name"
For Each PL In P.ConfigName
'ComboBox1.AddItem (P.Name)
MsgBox P.Name
Next
End Sub
I am also interested in getting available pin files in a combo box but
I need to figure out how to do it with plotter names first.
Thank you,
Posted: Jan 28, 2010 12:27 PM Reply
Using AutoCad 2010, VBA.
Is it possable to get the plot driver names and put them in a combo box for later
programming uses.
I am trying the following code but I am not having any luck.
Private Sub CommandButton12_Click()
Dim P As Object
Dim p1 As Object
Dim PL As String
Dim x As Integer
Set P = ThisDrawing.PlotConfigurations
'Set p1 =
PL = P.ConfigName
ComboBox1.Value = "Plotter Name"
For Each PL In P.ConfigName
'ComboBox1.AddItem (P.Name)
MsgBox P.Name
Next
End Sub
I am also interested in getting available pin files in a combo box but
I need to figure out how to do it with plotter names first.
Thank you,