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

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

Anonymous
Not applicable
2,041 Views
9 Replies
Message 1 of 10

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

Anonymous
Not applicable

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.

0 Likes
2,042 Views
9 Replies
Replies (9)
Message 2 of 10

vinodkl
Mentor
Mentor

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.
--------------------------------------------------------------------------------------------------------------------------
Message 3 of 10

Anonymous
Not applicable

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. 

0 Likes
Message 4 of 10

vladimir_michl
Advisor
Advisor

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

 

Message 5 of 10

ChicagoLooper
Mentor
Mentor

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

Chicagolooper

EESignature

0 Likes
Message 6 of 10

tboehler
Collaborator
Collaborator

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.

 

 

Message 7 of 10

ChicagoLooper
Mentor
Mentor

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

0 Likes
Message 8 of 10

Anonymous
Not applicable

I’ll try this after the holidays. Thanks.

0 Likes
Message 9 of 10

Anonymous
Not applicable

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. 

0 Likes
Message 10 of 10

ChicagoLooper
Mentor
Mentor

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

0 Likes