AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
Active Member
GoranKLensmeden
Posts: 6
Registered: ‎07-08-2012
Message 1 of 5 (449 Views)
Accepted Solution

Lisp for replacing block with point?

449 Views, 4 Replies
06-10-2013 04:34 AM

Dear madams and sirs,

 

I need to replace a large number (3700) of blocks with points, and cannot find a command for that operation. I have found a lisp for converting circles to points, so I guess it is doable for someone more experienced.

 

Have I just not found the command, or am I a bad googler? Unfortenately I cannot handle pure code (yet), so I need a lisp file (or the command).

 

Thankful for any help!

 

/ Göran

You can always do a report query or a dataextract and create a txt file with the coordinates of the blocks then use that txt file to import points. Another way would be to export the points to SHP format then import them as points. To erase the current blocks use the Quick select command.

*Expert Elite*
Murph
Posts: 2,015
Registered: ‎11-13-2006
Message 2 of 5 (440 Views)

Re: Lisp for replacing block with point?

06-10-2013 05:36 AM in reply to: GoranKLensmeden

You can always do a report query or a dataextract and create a txt file with the coordinates of the blocks then use that txt file to import points. Another way would be to export the points to SHP format then import them as points. To erase the current blocks use the Quick select command.

Murph
Supportting the troops daily.
*Expert Elite*
antoniovinci
Posts: 1,701
Registered: ‎06-03-2011
Message 3 of 5 (438 Views)

Re: Lisp for replacing block with point?

06-10-2013 05:41 AM in reply to: GoranKLensmeden

I think it's feasible in Gis opensource environment: feel free to attach here that .DWG in 2004 format, I could try.

Active Member
GoranKLensmeden
Posts: 6
Registered: ‎07-08-2012
Message 4 of 5 (412 Views)

Re: Lisp for replacing block with point?

06-10-2013 11:55 PM in reply to: Murph

Thanks!

 

I tried the method of exporting/importing via shape file, and it worked out well.

 

Off to new adventures!

 

/ Göran

*Expert Elite*
Murph
Posts: 2,015
Registered: ‎11-13-2006
Message 5 of 5 (402 Views)

Re: Lisp for replacing block with point?

06-11-2013 04:01 AM in reply to: GoranKLensmeden

GoranKLensmeden wrote:

Thanks!

 

I tried the method of exporting/importing via shape file, and it worked out well.

 

Off to new adventures!

 

/ Göran


Great, glad to help out.

 

Murph
Supportting the troops daily.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.