Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with Autodesk own type of variables

1 REPLY 1
Reply
Message 1 of 2
joantopo
230 Views, 1 Reply

Problem with Autodesk own type of variables

There are some types of vars:

 

With types: bool,int,string,double...  there isn´t problem but..

 

Type:   Autodesk.Civil.DatabaseServices.AlignmentSubEntityType

for SubEntityType.

 

Type: Autodesk.AutoCAD.DatabaseServices.ObjectId

for Id.

 

If I have a list with properties, How can I convert this types in integer or string?

I can not use the list?
I have to do all the calculations within the method including the Transaction?

 

Thank you.

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
1 REPLY 1
Message 2 of 2
Partha.Sarkar
in reply to: joantopo

Hi joantopo,

 

You can use ObjectId.ToString()

 

Does that help ? Let me know if I am missing anything here.

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report