How do I extract line label style ID from civil 3d

I am wondering what direction should I go so that I can just click on a line label style and it will tell me the ID of it.

I installed the camber package already and there is a function that is called “general line label styles” but it doesn’t give me an output when I ran it

Do you mean if you click on a Label style in Toolspace? Or do you want to get the style name when you select the object?

What is your goal to achieve?

1 Like

You can use snoop tool for that.


I want to be able to click on that and it will tell me the ID for that general line label style

I need those ID for coding later tools

can you elaborate? which library is it from? what is the exact name of the node (I typed it in the search and it doesn’t exist) ? what is its input and output format?

Sorry, not sure if it’s possible with OOTB nodes

This is a civil 3d command .
Please go through ADN-DevTech/Civil3DSnoop: Tool to inspect AutoCAD Civil 3D Database (github.com).
Install command in your machine using netload.
Use command ‘‘snoop’’ and select any object in your case it is line. You will get what you want.

Try

objectId = object.InternalObjectId

ok I suspected that. I just “wrote” a quick command with chat GPT to extract the ID’s once I realized that dynamo can’t do that.

Thanks