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: 

API: How can I delete all breakline sets included in definition off Surface?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
joantopo
442 Views, 3 Replies

API: How can I delete all breakline sets included in definition off Surface?

I want delete all breakline sets of one selected surface using API.

 

There is "SurfaceOperationAddBreakline" but I don´t find "SurfaceOperationDeleteSetBreakline" for example.

 

Is there other way to delete all breakline sets of one surface?

 

Later, I want to create one set breakline for each layer which has been selected by user.

I know that I can use qselect, but I want do this process automatically.

 

 

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
3 REPLIES 3
Message 2 of 4
joantopo
in reply to: joantopo

Perhaps it is "SurfaceOperationCollection" method Remove or RemoveAt()

 

 

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
Message 3 of 4
Partha.Sarkar
in reply to: joantopo

Try this -

 

http://adndevblog.typepad.com/infrastructure/2013/09/removing-surface-breaklines-using-autocad-civil...

 

Let me know if you need any further help here.

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 4 of 4
joantopo
in reply to: Partha.Sarkar

Hi Partha.

 I haven´t seen that link before.It´s great!.

 

However,I don´understand "surfaceId". How I put Id surface to refer the surface?

 

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

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report