Message 1 of 4
GetPlotDeviceNames
Not applicable
02-10-2006
06:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm new to using VBA within AutoCAD and could do witha friendly pointer to get me started on a particular aspect.
I have a routine which I use for carrying specific plot tasks which I have written in LISP. I want to port this into VBA as a trial run but have met my first stumbling block. I have a form which lists all available AutoCAD plotters. In my LISP version, I then strip this list so that the dialog only displays the PC3 plotters and not Windows plotters. In LISP this is easy enough to step through each item in the text list and do a compare but in VBA I'm struggling to do the same.
Is the list produced by Layout.GetPlotDeviceNames in the form of a text list or something else? As I've said, I'm coming at this as a complete newbie and my LISP thinking keeps getting in the way.
Any pointers on the best way to achieve a list of just PC3 files would be greatly appreciated. I'm sure once I get a grip on this one aspect, a light should turn on and things should becomes a bit clearer.... hopefully!
I have a routine which I use for carrying specific plot tasks which I have written in LISP. I want to port this into VBA as a trial run but have met my first stumbling block. I have a form which lists all available AutoCAD plotters. In my LISP version, I then strip this list so that the dialog only displays the PC3 plotters and not Windows plotters. In LISP this is easy enough to step through each item in the text list and do a compare but in VBA I'm struggling to do the same.
Is the list produced by Layout.GetPlotDeviceNames in the form of a text list or something else? As I've said, I'm coming at this as a complete newbie and my LISP thinking keeps getting in the way.
Any pointers on the best way to achieve a list of just PC3 files would be greatly appreciated. I'm sure once I get a grip on this one aspect, a light should turn on and things should becomes a bit clearer.... hopefully!