I wonder if someone has solved this one already?
I can make a small subassembly that can vary it's deltaX and deltaY based on a 3d polyline (or alignment / profile) in the drawing. However the subassembly does not get put in with default perameters outside of the areas where the targets exist.
I have been trying to come up with a decision tree to tell the subasembly to use default values where there are no targets to use, but I have not been able to find the correct syntax that works for those true/false decisions. My VB language knowledge is clearly lacking.....
Has anyone done this already and would be willing to provide a small .pkt file to show how it is done?
I'm not an expert (Kati M.??) but I think it's pretty easy.
Create a decision that uses the "isvalid" check.
I check to see my target parameter "Wall_Profile" is at that location "Wall_Profile.isvalid"
If yes, then use it, if no then use default surface in my case.
Ok, Ignore my first post. It's been a couple months since I used SAC.
I forgot that what you want is built in.
Look at the image. You need to define a target alignment and profile, then create your point using standard inputs (in my case ShoulderSlope and ShoulderWidth) then you also set the target overrides with the targets defined (in my case Target_Algn and Target_Prof). Your subassembly will use the targets when found and, if not, it will use the default inputs.