CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage 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.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedASCPOINT LSP - Importing elevations as attribute

 Post Reply Post Reply Page  12>
Author
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Topic: ASCPOINT LSP - Importing elevations as attribute
    Posted: 30.Aug.2013 at 12:23
Vladimir,
Want to thank you for all your help with this lisp program but I think this just might be a Mechanical desktop issue.
I ran this program in AutoCad10 and it worked just fine but still doesn't work with Mechanical Desktop 2009.
Not sure if there is a setting somewhere I need to change or what but it's obviously not the program.

If anyone has any suggestions I'd really appreciate them!!

Tom
Back to Top
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Posted: 30.Aug.2013 at 00:09
Vladimir,
Tried the new ascpoint with your AttPoint and with mine.
Didn't work with either one.  Does the same thing with both-brings in the XYZ's plots the points, attaches the block to each but does NOT update the attribute information?????

Looks just like the picture Michelle posted.

????
Tom
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2124
Direct Link To This Post Posted: 29.Aug.2013 at 15:44
Please try the updated version of ASCPOINT (see Download). You can try it e.g. with the block AttPoint4 (with 4 attributes):
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Posted: 29.Aug.2013 at 13:54
So does anyone have any suggestions or ideas as to what''s going on here and how to fix it??

Tom
Back to Top
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Posted: 27.Aug.2013 at 16:34
Vladimir and John,

Thank you both for taking the time to reply and trying to help me.

My file and structure is set up as follows:

877.27,650.0000,71.7400,101,POINT1

877.27 is my X
650.0000 is my Y
71.7400 is my Z
101 is what I want to have inserted into the first attribute
POINT is what I want to have inserted into the second attribute

So it appears as if my file is in the proper format and information is in the correct columns.
I run the ascpoint lisp and this shows up on the command line:

Select the block to insert (may have attributes): NewExcel8
("887.2700" "650.0000" "71.7400" "101" "point1")
("887.2700" "-650.0000" "71.7400" "102" "POINT2")
("601.5600" "0.0000" "577.0100" "103" "POINT2")
("694.4700" "-400.1100" "483.7500" "104" "POINT4")
("694.4500" "400.1300" "483.7600" "1005" "POINT5")
("907.5500" "-232.1400" "162.7900" "1006" "POINT6")

Again it looks as if the data is all there and in the proper format yet non of the attribute information updates to the new point and blocks.
The program brings in all the XYZ's, creates the new point and attaches a copy of the block I select to each new point but the attributes do not update to the data above.  1001, 1002 etc. should be in the first attribute field and the POINT1, POINT2 etc should be in the second attribute field.  Instead they retain the original data from the first block they were inserted from?!?!??!

Tom
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2124
Direct Link To This Post Posted: 27.Aug.2013 at 16:06
There are two approaches for displaying elevation as an attribute through ASCPOINT:
 
1) add/copy the elevation data (Z, usually the third column) again as a fourth column/parameter in your import file - it will be read into the block attribute
 
2) modify your block so that its attribute is predefined and contains a field pointing to Z-part of its insertion point -- such block will automatically display the Z of its position (whether it was inserted by ASCPOINT or not); see examples of such blocks here in the Block library - look for "elevation label", dynamic blocks
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Posted: 27.Aug.2013 at 15:57
I removed the ; in front of the (PRINT PT) command so I could see what data was being imported.
This is what it shows on the command line so I know the XYZ and label information is there.

Select the block to insert (may have attributes): NewExcel8
("887.2700" "650.0000" "71.7400" "101" "point1")
("887.2700" "-650.0000" "71.7400" "102" "POINT2")
("601.5600" "0.0000" "577.0100" "103" "POINT2")
("694.4700" "-400.1100" "483.7500" "104" "POINT4")
("694.4500" "400.1300" "483.7600" "1005" "POINT5")
("907.5500" "-232.1400" "162.7900" "1006" "POINT6")

I also know for a a fact that I have at least 2 attributes in my block.

I don't know the programming language so I don't know what it's doing to put the label information in there?!?!?!  Sooooooo  Frustrating!!
Back to Top
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Posted: 27.Aug.2013 at 15:43
Nope!
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
Torban View Drop Down
Newbie
Newbie


Joined: 25.Aug.2013
Location: United States
Using: Mechanical Desktop 2009
Status: Offline
Points: 9
Direct Link To This Post Posted: 27.Aug.2013 at 14:42
Is there anyone that can help me with this??

Confused

Tom
Back to Top

Related CAD tips:


 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,064 seconds.