I solved this similar problem in my own plot program with this:
sendkeys "pagesetup " ,true
When invoked vba waits until the pagesetup is executed.
Willem from the Netherlands
mstg007,
During the life time of a drawing, all handles to entity's are unique. That means that blocks can't have the same handle to it!!!
Regards,
Willem
Willem from the Netherlands
Adrian,
If you are familiar with Paperspace and Modelspace the problem you describes isn't that hard at all.
Try this:
Paste your Excelsheet in modelspace, do not scaled it or what so ever.
Goto the paperspace tab and create a viewport with mview.
<command> mspace
<command> zoom extents...
Before you convert DXF into DWG you must use the NEW command in your script (don't forgot the period)
, this is nesseserly to import all entity's from the DXF, and keep in mind that long file names must have double quote's around it. If you useing a2000 or higher set the SDI(Single Document...
Hello Cracks,
I know that in autocad200x a batch plot program exist, but it's not useable for my work because of different AutoCAD settings.
So here is my problem:
I made a simple routine in VBA that plot multiple drawings with the chosen plot setting from my program and store those settings...
Hi,
Try ADO in your code then you can connect to a url. To use ADO see the MSAccess help files for futher information.
P.S.
I'm still learning how to use ADO so I can't give you examples for your problem, but I know it's possible!
Good luck.
That's easy, use the taskbar goto start control panel and open regional and language settings. Goto the Regional tab then select Customize button and set these options:
<Digital symbol> = ,
<Digital grouping> = (select the value with no , or .)
<List Seperator> = ,
Apply or Ok
Start excel and...
Hi,
I now that it is posible in vba, but there already exist a lisp routine called attredef.lsp that will do the job. This is how it works:
1 - insert (exploded) your newly created block outside the drawing
2 - start with at or attredef and select the attributes you needed
3 - select the new...
Hi,
You need todo the following steps:
set the UCS on the side you want to treat.
draw a (polyline)rectangle.
use the EXTRUDE command or button and select the object
enter a heigth and no taperangle.
use the SUBSTRACT command or button and select the main object and then the object you want...