The editor always puts it in, and I alway declare everything - SOP.
"Don't get rich..." How well I know. I've been doing it since 1983.
About once a year, I get fed up with "this" working different than "that",
and have to say something.
Mounting soap box:
VBA is the most productive and interactive development environment.
IMHO, Autodesk could be more active in filling in VBA. They are
profitable enough to apply some more effort to this. How long will
unsupported.arx be required? How long before I can remove the
sendcommand from my code?
- Ted
"Chris Shoemaker" wrote in message
news:4954411@discussion.autodesk.com...
are you using variable declarations and option explicit?
Oh come now, everyone knows you don't get rich writing CAD apps....everyone
just assumes it's part of autoCAD 🙂
-Chris
"TedSch" wrote in message
news:4954384@discussion.autodesk.com...
Set oPlotCfg = oDwg.PlotConfigurations(strPageSetup)
This standard method doesn't for return an object in 2005 for me.
(and there's no syntax error)
I have to spin through the plot configurations like this.
For Each oPlotCfg1 In oDwg.PlotConfigurations
If StrComp(oPlotCfg1.Name, "_24x36", vbTextCompare) = 0 Then
Exit For
End If
Next
OK Autodesk, I wasted 30 mins on this one, you can reimburse me $75
to.......
(if this works, I could become rich )
- Ted