Over 1.106.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply
|
Page 12> |
| Author | |
steelworx
Newbie
Joined: 17.Jan.2013 Location: Canada Using: AutoCAD2012 Status: Offline Points: 2 |
Topic: ASCPOINT LSP - Importing elevations as attributePosted: 18.Jan.2013 at 13:52 |
|
The ASCPOINT LSP works great at importing points into AutoCAD but when I try and import the elevation as the attribute I am having some major annoyances.
Using 358147.369,4982842.266,110.349,110.349 as an example where ASCPOINT requires X,Y,Z,attribute and "110.349 should be displayed as the text on the block but I either get "110.349000000" if imported as shown above or if I add another character like "358147.369,4982842.266,110.349,EL110.349" then it will only show the elevation before the decimal like "EL110" (missing the EL110."349" which is important information to display.) I have been importing it as "358147.369,4982842.266,110.349,110.349" and getting 110.349000000 and manually editing each block to remove the 000000 at the end. Is there any way to edit ASCPOINT to import elevations as the attribute without these 000000 at the end? ![]() ASCPOINT: http://www.cadforum.cz/cadforum_en/tips.asp?t=ascpoint Edited by steelworx - 18.Jan.2013 at 13:52 |
|
![]() |
|
Vladimir Michl
Moderator Group
Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2144 |
Posted: 18.Jan.2013 at 14:18 |
|
Unfortunately there is no easy solution for either of these two problems in ASCPOINT. |
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
CarlB
Senior Member
Joined: 16.Oct.2009 Location: United States Status: Offline Points: 321 |
Posted: 18.Jan.2013 at 17:45 |
|
Two possibilities-
Revise the lisp. Should be fairly straightforward (but I don't know the routine you are using). The lisp has to read the elevation, as text, from a file, convert it to a number to give the point a z value, and apparently convert that real to a string to place it in the attribute. It could use a precision othe than 6 decimal places when converting. Or it could use the initially read string to place in the attribute. Two, use another list to revise all selected point inserts to display number of decimals you specify. |
|
![]() |
|
CarlB
Senior Member
Joined: 16.Oct.2009 Location: United States Status: Offline Points: 321 |
Posted: 19.Jan.2013 at 02:17 |
|
I made some lisp modifications that seem to work for your particular case. It's not a "robust" solution that handles all variations. It displays elevations to 3 decimal places.
If you know a little about editing lisp, it involves replace a the defun "toSym" in ASCPOINT.LSP with the following:
|
|
![]() |
|
Vladimir Michl
Moderator Group
Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2144 |
Posted: 19.Jan.2013 at 14:59 |
|
Or better yet - we have used a more general line parser and generalized ASCPOINT.LSP (covering both mentioned problems) is now available for download on the Download page.
|
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
Miche11e
Newbie
Joined: 28.Feb.2013 Location: South Africa Using: Autocad2013 Status: Offline Points: 1 |
Posted: 01.Mar.2013 at 09:02 |
|
I have tried it and it works well, however I can't get my attribute to show. It remains 0.00
![]()
|
|
![]() |
|
Torban
Newbie
Joined: 25.Aug.2013 Location: United States Using: Mechanical Desktop 2009 Status: Offline Points: 9 |
Posted: 25.Aug.2013 at 20:18 |
|
Vladimir,
Using the ASCPOINT.lisp I have tried everything I can think of to get the attributes to come in but it's just not happening!! XYZ no problem and it inserts the other points with a block at each one but does not update the attribute field??? I have a block with a sphere and one attdef with name pnum, noting in the prompt and 000-00 for the default and that is what gets put into all the attribute labels (it doesn't update them!!) Any ideas?? Tom |
|
![]() |
|
Torban
Newbie
Joined: 25.Aug.2013 Location: United States Using: Mechanical Desktop 2009 Status: Offline Points: 9 |
Posted: 25.Aug.2013 at 20:20 |
|
Michelle,
Did you ever solve this problem?? Tom |
|
![]() |
|
Torban
Newbie
Joined: 25.Aug.2013 Location: United States Using: Mechanical Desktop 2009 Status: Offline Points: 9 |
Posted: 27.Aug.2013 at 14:42 |
|
Is there anyone that can help me with this??
![]() Tom |
|
![]() |
|
John Connor
Senior Member
Joined: 01.Feb.2011 Location: United States Using: AutoCAD 2018 Status: Offline Points: 7175 |
Posted: 27.Aug.2013 at 15:39 |
|
A REGEN doesn't force an update?
|
|
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>> |
|
![]() |
|
Post Reply
|
Page 12> |
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,152 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


ASCPOINT LSP - Importing elevations as attribute
Topic Options





