hi, I created a custom assembly that has an offset target. Is it possible to program my subassembly to target only on the side of my subassembly (and not criss-cross onto itself it the target is on the other side)?
Thanks,
Brian
Solved! Go to Solution.
Solved by peterfunkautodesk. Go to Solution.
Solved by KMercier_C3D. Go to Solution.
Solved by peterfunkautodesk. Go to Solution.
You could use the API to check the offset(x) of the 0 point and the offset of the offset point and make sure the offset point is going the correct direction.
Regards,
Peter Funk
Autodesk, inc.
To do this without adding an auxiliary point you could add a decision to test: (TargetParameter1.offset<0)XOR(Side=RIGHT) The true means the target is on the correct side (so have the points target) and the false means the target is not on the correct side (so don't use target).
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®
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®
Civil 3D is only set up to return a single target to the subassembly. It will either return the nearest or farthest target found at the station. There is a switch when you set the target to set which one. The distance is measured from the alignment.
Regards,
Peter Funk
Autodesk, Inc.