sandiegophil Posted June 23, 2010 Posted June 23, 2010 Hello, I have spent a good deal of time creating a custom subassembly only to find out that I am unable to mirror it. I hope I'm overlooking a small setting somewhere. Any help is appreciated. Thanks, Phil Quote
sinc Posted June 23, 2010 Posted June 23, 2010 Did you add a "Side" parameter to your subassembly? Some of the stock subassemblies do this. Then most of those have a "flip" variable that gets set to either 1 or -1, depending on whether the user selects Right or Left. This "flip" variable is used in calculations in the DrawImplement method. It might be helpful to identify one of the stock subassemblies that has a "Side" parameter, then look at the way it is implemented in the stock subassembly code. Quote
sandiegophil Posted June 23, 2010 Author Posted June 23, 2010 Richard, Thank you for your reply. However, I do not know what you are refering to when you say 'DrawImplement' method. Also, I do not know how to view the stock subassembly code. I'm just getting started with this and any additional help would be appreciated. Thanks, Phil Quote
sinc Posted June 23, 2010 Posted June 23, 2010 They're all in the C3D installation directory -> Sample -> Civil 3D API -> C3DStockSubAssemblies. Quote
sandiegophil Posted June 23, 2010 Author Posted June 23, 2010 got it! Thanks for your help. Phil Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.