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: 

Custom Subassembly--won't mirror correctly

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
jameshitt
309 Views, 4 Replies

Custom Subassembly--won't mirror correctly

I have a custom subassembly that does have the "Side" assigned to "Right", but when I mirror it, it doesn't mirror correctly. I do have a Decision node in the flow, so there are two conditions. It seems like it is jumping to the other condition when I mirror it, but I can't figure out why in Subassembly Composer.

(Civil 2023.2.1 Update)

For some reason the forum is not allowing me to attach the .pkt file.

Edit: .pkt file is now attached. Thanks, @Wojtek_Garczewski 

Labels (1)
4 REPLIES 4
Message 2 of 5

Hi @jameshitt 

Try to ZIP your PKT or you may use WeTransfer.com

Looks like your custom PKT would be needed to narrow down the issue. 

Thanks,
Wojtek



Wojtek G.

Technical Support Specialist
Civil Engineering Solutions
Message 3 of 5
jameshitt
in reply to: jameshitt

Just giving this a bump in case I missed the normal crowd over the weekend. I will likely just make a right and left side subassembly as a workaround, but I'd still love to understand why it isn't mirroring correctly in the first place.

Thanks in advance!

Message 4 of 5

Hi @jameshitt 

 

Thanks for subassembly. 

I checked on that, and I think I found the cause of the behavior. 

 

Subassembly works as you asked it to work, and behavior is driven by the decision you applied in the flowchart. 

AP1.Offset > AP2.Offset 
When you assign it to the left, your AP1 Offset values are negative. That's why AP1.Offset is smaller than AP2.Offset, which changes the decision to a false and different path in the flowchart. 
Please see:

Wojtek_Garczewski_0-1681199277702.png


To solve it you need work on absolute values, then the decision condition should look like : 

math.abs(AP1.Offset) > math.abs(AP2.Offset)

 

Please see:

SAC_Dec.gif

 

Please note that Preview geometry should be set to Layout Mode. 
Layout Mode = how subassembly looks like in Assembly.
Roadway Mode = behavior of subassembly in Corridor based on targets etc.


Let me know if that helps.

Thanks,
Wojtek
______________________________________________________________

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!



Wojtek G.

Technical Support Specialist
Civil Engineering Solutions
Message 5 of 5

I was starting to feel like it must be in the Decision expression. Thanks!

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report