Insertion point of subassembly not specified correctly

Insertion point of subassembly not specified correctly

jimgi78okt
Advocate Advocate
384 Views
2 Replies
Message 1 of 3

Insertion point of subassembly not specified correctly

jimgi78okt
Advocate
Advocate

Hi to everyone. I have created a custom subassembly for daylighting with the SAC (C3D 2023). Irrespectively of the case (embankment or cut) i have determined that my daylight point (on surface) will be always point P200 and will have a code "Datum_at_surface".

When i insert that in C3D it depicts me the following (from the ditch to the right. The subassembly is attached at the ending point of a road's earthworks...). 

jimgi78okt_0-1663159920846.png

This is not what i have coded is SAC, however it works fine when i build my corridor. The far right point is always the point on the existing ground named P200 and coded "Datum_at surface".

The problem  comes when i try to attach another subassembly next to this one, with attachment point the P200 point. Let's assume the next subassembly is only a vertical line from P200 with Δx=0 and ΔY=-2

If i select (graphically in C3D) P200 as the attachment point, then i get the following result when i build the corridor:

 

Case of cut

jimgi78okt_1-1663160812948.png

 

Case of embankment

   

jimgi78okt_2-1663160883435.png

 

The second one, i.e. the case of embankment, is really weird (and false). The vertical yellow line should be attached on the furthest right point. 

Why does this happen? 

Any ideas?

I assume it has to do with the way the insertion point is determined graphically...

For ease i attach the subassembly of the cut/fill case (rename .zip tp .pkt).

Thanks in advance!

0 Likes
385 Views
2 Replies
Replies (2)
Message 2 of 3

KMercier_C3D
Advisor
Advisor

Part of this issue is you may have a common P200 to all the subassembly scenarios but in layout mode if P200 exists in the same location as another point then you don't have control on whether it is connecting to P200 or not. One way you should be able to control this is make your connection point with a value that changes to something that won't overlap with anything else by using SA.islayout=true to shift it away from other points as a connection point in layout mode but then it will be in the correct spot when it isn't in Layout Mode (when you are defining the assembly). 

 

For example here I defined P200 like this:

KMercier_C3D_0-1663603008285.png

And here it is in Roadway Mode in the right spot but overlapping with P4:

KMercier_C3D_1-1663603036270.png

And here it is in Layout mode with it off to the side as a connection point: 

KMercier_C3D_2-1663603055539.png

This may not be intuitive to the Civil 3D user so you will need to be descriptive in any supporting documents you make but it should solve your problem. 

 



Kati Mercier, P.E. | LinkedIn | AutoCAD Civil 3D Certified Professional
Pronouns: She/Her
Co-author of "Mastering AutoCAD Civil 3D 2013"
AU2019 Speaker::: CES321590: Analyze and Revise Existing Subassembly Composer PKT Files for AutoCAD Civil 3D
AU2017 Speaker::: CI125544: Analyze and Devise in Subassembly Composer
AU2012 Speaker::: CI3001: Reverse Engineering with Subassembly Composer for AutoCAD Civil 3D
AU2011 Speaker::: CI4252: Create Subassemblies That Think Outside the Box With Subassembly Composer for AutoCAD® Civil 3D®

Message 3 of 3

jimgi78okt
Advocate
Advocate

Thanks Kathy. I will try it.

Well if i remember correct, i have tried a similar way but with no luck. Let me explain.

I assumed that overlapping of points could be an issue when attaching a subassembly in C3D (where as you say you have no control on which point from the ones that overlaps is selected). So i defined P200 with a dummy, additional offset (Δx) parameter, so that this clearly not overlaps with other points. So it was easy to attach a subassembly in C3D. After the insertion of the subassembly, i turned the value of Δx to zero. So the point P200 came back to its original place. After that i created my corridor. Well, surprisingly, this did not gave me what i wanted. 

Anyway, i will try your idea!  

0 Likes