Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
1607 Vistas, 9 Respuestas

Request for LISP - Transfer Block Attribute to Elevation (multiple selection)

Dear LISP wizards,

I am having a problem with our survey drawings as road marking elevations are incorrect. I would like to request for a LISP that will transfer the value in Attribute "Z" of the block to the blocks elevation. this is a 30 km expressway with hundreds of thousands of points and doing it manually will definitely take too much time. 

How this happened? I just joined the company and it seems that our survey manager gave wrong instructions to site survey engineers and CAD department from the very start of the project. please help.

 

I have attached a screenshot and a sample drawing for reference.

 

thank you so much.

Etiquetas (3)
Etiquetas (3)
vinodkl
en respuesta a: Anonymous

Hi,

 

This can be achieved without the lisp by using Field.

Add "position Z" value to the attribute tag "Z".

See attachment.

 

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
Anonymous
en respuesta a: vinodkl

Hi Vinod, thank you for your quick response. really appreciate it. but what I want to happen is the opposite. the value from the block attribute "Z" should be transferred to Position Z value. 

vladimir_michl
en respuesta a: Anonymous

See the Att2elev LISP utility on www.cadstudio.cz/freeware - just pick the attribute in an inserted block and select the blocks to move up/down (optionally remove any prefixes/suffixes from the "elevation" attribute). Please note that Civil 3D has a tool for this.

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

ChicagoLooper
en respuesta a: Anonymous

What is the purpose of placing the block at the correct elevation?

Chicagolooper

EESignature

tboehler
en respuesta a: Anonymous

If you are working with a survey department and creating drawings with roads and points you should get Civil 3D.  The points options are endless (almost).  Not to mention all other civil/survey tools.

 

I realizde this doesn't help you today.  I'll leave that to the lisp experts.

 

 

ChicagoLooper
en respuesta a: Anonymous

Since @tboehler has opened the door to Civil3D, I agree.

 

Taking a 30 km expressway with hundreds of thousands of points  and putting blocks at their proper z-elevation sounds like you're building a surface. I can't imagine doing this exercise for any other reason.

 

With C3D you not only surface creation capabilities and the ability to draw profiles, you have Point Groups, Point Styles and Point Labels. Using Vanilla Cad is like using a brick to pound a nail when you hsould be using a hammer.

Chicagolooper

EESignature

Anonymous
en respuesta a: vladimir_michl

I’ll try this after the holidays. Thanks.

Anonymous
en respuesta a: tboehler

Thanks. I said the same to the team but no one is an expert in C3D. They have been using different survey tools from trimble and pythagoras for field data post process then export it to Acad for submission. 

ChicagoLooper
en respuesta a: Anonymous

This is easily accomplished (a common exercise) in Civil3D or Map3D with xyz data Excel under 3 columns, either NEZ or ENZ. No lisp needed. 

Chicagolooper

EESignature