Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wblock without Map

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
302 Views, 3 Replies

Wblock without Map

When WBlocking, I am requested as to the inclusion of Acad Map Info.
I would like to disable this for when I (bulk) export the blocks using a
lisp routine.
Filedia doesn't effect it: how can it be disabled?

Thanks,

Jon
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

This is one I definitely want to keep an eye on. I use ADT3.3 and I seem to
have to put up with making blocks that have nothing to do with ADT that
carry ADT info with them. It's a little aggravating.

--

Bill DeShawn
bdeshawn@prodigy.net
http://pages.prodigy.net/bdeshawn/bdeshawn.htm


"Jon Ras" wrote in message
news:FF1D9927EB4D5814EF7BD1595FD7C9BD@in.WebX.maYIadrTaRb...
> When WBlocking, I am requested as to the inclusion of Acad Map Info.
> I would like to disable this for when I (bulk) export the blocks using a
> lisp routine.
> Filedia doesn't effect it: how can it be disabled?
>
> Thanks,
>
> Jon
>
>
>
>
Message 3 of 4
Anonymous
in reply to: Anonymous

Hi Jon,

This is how I do it.

(if (member "ade.arx" (arx))
(setq #AcadMap T)
(setq #AcadMap nil)
)

(if #AcadMap
(command "._Wblock" la "" InsPt ss "" "No") ; No Export of AutoCAD Map
information
(command "._Wblock" la "" InsPt ss "")
)

Hope this helps.

- Rakesh


Jon Ras wrote:

> When WBlocking, I am requested as to the inclusion of Acad Map Info.
> I would like to disable this for when I (bulk) export the blocks using a
> lisp routine.
> Filedia doesn't effect it: how can it be disabled?
>
> Thanks,
>
> Jon

AutoCAD customization for Engineering/Mapping/GIS
Get GeoTools @ http://www.4d-technologies.com/geotools
Build MyGeoTools @ http://www.4d-technologies.com/geotools/my_geotools.htm
FREE downloads : http://www.4d-technologies.com/techcenter
Message 4 of 4
Anonymous
in reply to: Anonymous

Thanks for the help Rakesh, but I still get the Dialogue box for the Map
Info, now followed by the
Unknown Command "No". This would indicate that you have managed to suppress
the dialogue box
which requests the Include Map Info in Export. How did you suppress that?

(if #AcadMap
(command "._Wblock" blkname blkname "No") ; No Export of AutoCAD Map
information
(command "._Wblock" blkname blkname)
)

Thanks again.

Jon

"Rakesh Rao" wrote in message
news:3BB86937.8D1762EC@vsnl.net...
>
> Hi Jon,
>
> This is how I do it.
>
> (if (member "ade.arx" (arx))
> (setq #AcadMap T)
> (setq #AcadMap nil)
> )
>
> (if #AcadMap
> (command "._Wblock" la "" InsPt ss "" "No") ; No Export of AutoCAD
Map
> information
> (command "._Wblock" la "" InsPt ss "")
> )
>
> Hope this helps.
>
> - Rakesh
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost