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

Cross-sections integrate

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
MKowalski_1
1183 Views, 12 Replies

Cross-sections integrate

Hi,

 

Is there a way to cross-sections generated from another program cad in the form of lines and polylines integrate into Civil 3D corridor?
12 REPLIES 12
Message 2 of 13
tcorey
in reply to: MKowalski_1

You could write a LISP routine that reads the sectional lines/plines and creates points at the correct station/offset in relation to an alignment. You might have to create AutoCAD points and then convert. I don't think AutoLISP lets you create COGO Points.

 

If you know .NET, you can create the points directly, no need to make AutoCAD points first.

 

If you post a sample drawing, I might be able to come up with some LISP for you....if you're not impatient. Things have been very busy, so I might not get to it for a week or more.

 

BTW, I love your avatar. Scary.



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 13
joantopo
in reply to: tcorey

There is a easy way to do that.

 

If you have several 3dpolylines in plan, you can create a custom subassembly in SAC, where:

 

string(input parameter)----> code point name:

 

 

You create a single point in your custom subassembly, P1

 

P1

code= code point name.

Horizontal target (overrides) delta X.

 

This subassembly with Horizontal target.

 

Well, you could create a subassembly with multiple points and multiple horizontal targets (and multiple input parameters to set the code for each 3dpolyline type).

 

 

Then, you use a setup corridor, with that subassembly in the assembly, and finally, you have to add each 3dpolyline in that region.

 

Note: if it is a 3dpolyline and you also want the elevations, you must add "Elevation targets" to override delta Y.

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 4 of 13
joantopo
in reply to: joantopo

Sorry.

you don't need a setup corridor, you can put directly this subassembly in your assemblies.

remember to import codes in the code set style.

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 5 of 13
MKowalski_1
in reply to: tcorey

Hi,
thanks for your interest in my problem. I posted a file with some sample cross sections. Tcorey if you have the ability and desire to create an application or LISP which you write, I will be grateful. I think it will be the best solution. Creating components from a polyline and coding them for a greater number of cross-sections is very labor intensive.

 

Sorry for my English.

Message 6 of 13
tcorey
in reply to: MKowalski_1

Don't apologize for your english. Remember, you're talking to Americans, largely, and most of us can barely speak one language. 😉

 

When I look at your cross sections, there are + symbols (mtext objects). Are these the points you want placed in plan view?

 

Because all the objects are just dumb AutoCAD objects, the routine will have to ask you to pick centerline, elevation baseline object and its sectional elevation, and then window the section, for each section. Is this going to work for you? 

 

In your sample drawing, the vertical scale is 1:1. Will this always be the case, or do you need to be able to tell the routine a vertical scale?

 

Tim



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 7 of 13
MKowalski_1
in reply to: tcorey

Hi,

 

yes, for those + symbols would have defined values, or to either end of the polyline or a point in cross-section.

Selecting items (points) of the section on which you write seems OK for me.

After selecting items from the section your application created by them number, coordinates and the height for each + symbols or selecting points?

What to scale vertically or horizontally you can take into account the change ... but not necessarily.

Message 8 of 13

I wrote a command in the SincPac that will allow you to either digitize or select polylines. These then are used to draw 3D Polylines in plan view. It takes in account the vertical exageration by letting you enter in the station/elevation/offset values where the sections are located at. You can then use these to create surfaces that you can show in cross section and possibly sample to create profiles to use as targets in a new corridor. Not ideal, but is a starting point to get the data into Civil 3D.

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 9 of 13

Hi,

 

You can write what kind of command and describe how to do it closer.

SincPack installed a trial version, but do not know which command (icon) or string of commands to use.

Message 10 of 13

The command is DigitizeSectionTo3DPoly here is a video showing it in action: https://www.youtube.com/watch?v=DzwAkIQpO10

 

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 11 of 13

Amazing man. Your solution is beyond my expectations.

 

The big problem was to make so that the cross-section of the example insert on the views of civil intersections? I mean, to the cross-section of Example assigned to a particular section view generated in civil and when editing after changing the location of the section view, a cross section of an example to move together with a sectional view of the civil.

Message 12 of 13

Sounds like you want the sections to show on the Civil 3D sections. I'd just move the linework you have over the Civil 3D cross sections. Then scale as needed.

 

The other way is to create a surface from the 3D Polylines and then sample the surface. The resulting surface section will show up on the Civil 3D sections. Then they will move with the section view.

 

 

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 13 of 13

Remember that  you can change the static surface section to dyanmic surface section, so you can move a section point in the section view though you cannot add or remove section points.

 

I wish I had a few time to record a little video of my command in VisorNET, but this choose a poyline (to choose a layer), and create directly a surface without the need to add the 3dpolylines as a breaklines.

In addition, the surface is composed by "surface points" (not COGO points) and remove the extra edges in the TIN to a properly boundary.

 

I had to do some functions to do this in the command but it works fine.

 

Then its removes automatically all polylines on the section views and creates new polylines (in the same layer) on the new surface sections. (the unique trouble is about the automatic elevation of each section view  fit correctly this new polylines).

 

 

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