Tag mod alignment curve labels

Tag mod alignment curve labels

rade_tomovic
Advocate Advocate
979 Views
3 Replies
Message 1 of 4

Tag mod alignment curve labels

rade_tomovic
Advocate
Advocate

Few questions here:

 

1. Is there any way to create curve tables but without converting labels to tag mode?

2. How to create table with coordinates of PI points, start and end alignment coordinates and delta angle? It's ok to be separate tables, I can later join them.

3. Is there a way to export that data to Excel?

 

Thanks for your answers!

 

0 Likes
Accepted solutions (2)
980 Views
3 Replies
Replies (3)
Message 2 of 4

tcorey
Mentor
Mentor
Accepted solution

To answer number 1, yes, this can be done.

 

On the General tab of the Label Style Composer, set Display Mode to Tag.

 

On the Layout tab, for your Bearing and Distance, set Used In to either Tag Mode or Label and Tag Modes. Set the height of the Tag component to something tiny, like 0.0004 (that's the smallest you can go.) Now the bearing and distance will display, the tag won't, but you can put the line into your table.



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes
Message 3 of 4

tcorey
Mentor
Mentor
Accepted solution

To answer question 3, yes, this can be done without much effort. How are you at VisualLISP?

 

Code like this will allow you to retrieve the data you're looking for:

 

(setq al (vlax-ename->vla-object (car (entsel "\nSelect Alignment: ")))
	ents (vlax-get-property al 'Entities)
	firstentNo (vlax-get-property ents 'FirstEntity)
	lastentNo (vlax-get-property ents 'LastEntity)
	firstent (vlax-invoke-method ents 'EntityAtID firstentno)
	lastent (vlax-invoke-method ents 'EntityAtID lastentno)
	StartNor (vlax-get-property firstent 'StartNorthing)
	StartEas (vlax-get-property firstent 'StartEasting)
        EndNor (vlax-get-property Lastent 'EndNorthing)
	EndEas (vlax-get-property Lastent 'EndEasting)
	)

 This is far from complete, but gives you an idea of the functions to use. If you don't know LISP, let me know and I can finish this off for you later in the week or next week, depending on my work load from paying customers. You know how it is. The free stuff has to come last. :--)

 

Give me complete details including column names you want extracted.

 

I don't have an answer for your number 2 question. Sorry.

 

Tim



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes
Message 4 of 4

rade_tomovic
Advocate
Advocate

Ok, both of your answers helped me to solve some problems, thank you both. Tim, thanks, you don't need to create full LISP. I have some (maybe strange) solution to question 2, but it worked for me, maybe will for someone else. So, solution is to manually add points at PI  points or whatever points you want, then to create point group, and once you create point group, you can create points table from Annotate tab.

0 Likes