Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Subassembly for C3D - how to skip a layer

pawel_k_SUEZ
Participant

Subassembly for C3D - how to skip a layer

pawel_k_SUEZ
Participant
Participant

Hi,

I'm trying to implement my own road conctruction. I did program all the layers I want in correct order. Basicly it works fine, but I just wonder - how can I skip a layer? What I mean:

1. Layer 1 is "Ścieralna"

2. Layer 2 is "Wiążąca" - it is created based on points from layer 1.

3. Layer 3 is "G. PODBUDOWA" - it is created based on points from layer 2.

4. Layer 4 is "D. PODBUDOWA" - it is created based on points from layer 3.

5. Layer 5 is "PODBUDOWA POMOCNICZA" - it is created based on points from layer 4.

pawel_knapinski8FKRT_1-1720013154376.png

pawel_knapinski8FKRT_2-1720013192554.png

 

 

How can I e.g. skip layer 4 and build layer 5 after 3? If I make thickness (GrubDPdb) on 0 - it won't work, because layer 5 has no reference points to start from. Here my construction just ends on layer 3.

 

pawel_knapinski8FKRT_3-1720013238618.png

 

I think the solution could be to make points numbers as variables - "if GrubDPdb=0 -> point number (of layer 3) is X, if not Y" - is this possible?

pawel_knapinski8FKRT_4-1720013319600.png

 

 

Or maybe there is another way?

 

Hope I described it clear enough 🙂

 

0 Likes
Reply
Accepted solutions (2)
596 Views
7 Replies
Replies (7)

ecfernandez
Advisor
Advisor

Hi @pawel_k_SUEZ, I hope you are doing well. You can use the location of a point as a variable; for example, P1.X gives you the position of P1 in X. Depending on how we use it, it could be useful for your case or not. The solution to your problem will depend on how your geometry should look when that layer does not exist (thickness=0). Could you explain how the geometry should look after having a zero value for that layer? In that way, I would be able to provide a few ideas.

 

Regards! 

Camilo Fernández

Civil engineer | Specialist in design, construction, and maintenance of roadways

EESignature

LinkedIn
0 Likes

pawel_k_SUEZ
Participant
Participant
Accepted solution

Hi, thank you for your reply.

My geometry is build like that:

1. After creating layer 1:

pawel_knapinski8FKRT_0-1720077210037.png

2. Layer 2 is created - starting from point P4 - P5 and L5 are drawn, P6 and L7 are drawn from P3 and L6 connects P5 and P6.

pawel_knapinski8FKRT_1-1720077225565.png

Nevertheless, I deleted the decision to check if there is thickness of next layer - now when I put "0" in thickness, there is only a line drawn and the current layer is not drawn, but the next one is correct. Point P5 lays on P4, but I think it won't be an issue.

E.g. thickness of layer 2 is "0".

pawel_knapinski8FKRT_2-1720077586186.png

 

 

However if you have any suggestions give me a sign. I attach my pkt file in zip.

 

0 Likes

nkiakas
Collaborator
Collaborator

Hi @pawel_k_SUEZ 

I did it few years ago.

Created a subassembly and the user is choosing the width, slope, number of layers, thickness and name (code) of each layer.

You will need to create enumeration for this and use the decision/switch tool

0 Likes

pawel_k_SUEZ
Participant
Participant

@ecfernandez @nkiakas 

Do you know how to fix the issue with datum surface? I have "Datum" code where the blue line is:

pawel_knapinski8FKRT_0-1720173196128.png

 

But in sections the area around the curb is missing:

pawel_knapinski8FKRT_1-1720173226522.png

 

To get right surface I need to delete 2 bottom layers:

pawel_knapinski8FKRT_0-1720174026560.png

So the datum is probably connected to the first horizontal point with the same code, how can I fix that?

 

0 Likes

ecfernandez
Advisor
Advisor
Accepted solution

Hi @pawel_k_SUEZ, you won't be able to make the surface go along that geometry you show in image 1. What is feasible and would be a best practice is to: 

 

1. Use a LinkMulti subassembly to fill that gap and use a code that allows you to identify it when computing materials. In that way, you can add the surface comparison and the shape to the same material list and compute the fill material volume.

ecfernandez_0-1720227895551.png

2. Do the same with a custom subassembly for the same purpose.

3. Create a polyline along the boundary of that gap and create a subassembly from polyline. Add link and shape codes and then proceed to computation.

ecfernandez_1-1720228056214.png

 

I hope this helps. Regards!

Camilo Fernández

Civil engineer | Specialist in design, construction, and maintenance of roadways

EESignature

LinkedIn
0 Likes

pawel_k_SUEZ
Participant
Participant

Hi,

thank you @ecfernandez . LinkMulti in fact didn't work for me, in assembly it showed fine (closed shape, coded) but in sections there was only boundry, the volume showed 0 and it looked like there is no shape in sections.

 

However, creating subassembly from polyline did work. Not perfect (as I don't get there Superelevation - seen below), but it's close enough.

pawel_knapinski8FKRT_0-1720436513889.png

 

ecfernandez
Advisor
Advisor

Hi @pawel_k_SUEZ It’s nice to know it worked. Thanks for posting your comments on that. Best regards 

Camilo Fernández

Civil engineer | Specialist in design, construction, and maintenance of roadways

EESignature

LinkedIn
0 Likes