Hello all,
I have a feeling the answer to this is just a simple flat - No. But I'll ask anyways.
In SAC can we make a "call" to a flowcart or sequence for repeated use in a subassembly similar to how you would "Call" a subroutine in other programing languages? Rather than having to re-build the same flowchart/sequence that occurs on another decision or switch branch. This would eliminate alot of duplicated coding!
Thx.
Solved! Go to Solution.
Solved by doni49. Go to Solution.
You just add the desired sub assembly to the assembly within C3D.
EDIT: I decided to expand on that a little bit.
Within your dwg file, you can have a corridor that uses one or more assemblies. Each assembly will start with one sus-assembly on one side and optionally another SA on the other side. Then beyond that, you can place another SA (or even another instance of the same one if you want).
So your first one can be SA1 and the second one is SA_A. Then you might have another assembly that starts with SA2 followed by SA_A. Now you have two different assemblies using two different SAs but then ending with a COMMON SA.
Don Ireland
Engineering Design Technician
No can do. The best you can hope for would be to open the other one, copy everything to the clipboard and paste it in.
What exactly are you trying to accomplish?
Don Ireland
Engineering Design Technician
Several people, including myself, have requested the ability to use "DO" loops in SAC.
You CAN have each of those items point to the flow chart as the next item.
See the following image for example. The 4 points each represent one of your places from which you said you wanted to "call" the flowchart.
Don Ireland
Engineering Design Technician
Here's one more example of doing this (or similar) from an SA that I actually created for production use.
Don Ireland
Engineering Design Technician
Doni,
Thanks for the input, but neither of those suggestions "re-uses" any flowchart or sequence.
The attached PDF shows my Current Workflow (Pg1) with the copied/duplicated flowcharts and Desired Workflow (Pg2) with "called" flowcharts.
I just looked at your PDF Page 2 and see no reason why this wouldn't work.
If I get some free time tomorrow, I'll put together an assembly that does this and post it.
Don Ireland
Engineering Design Technician
I'll let you fill in all the decisions, flowcharts and sequences but the attached subassembly will do what you've asked. I don't know off hand the code required to test status of layout vs roadway otherwise I would've put that in as well.
But with this, if you want to change "Back of Wall", you'll do so ONCE and that's it.
Rename the zip as pkt when you download it.
Don Ireland
Engineering Design Technician
@kperison wrote:
Doni,
Thanks for all the effort to help me out. Your flowchart example certainly does illustrate how to define an operation once then reuse it. I suppose my problem was nesting the flowcharts to deeply and trying to make the chart "clean". I guess I'll end up with a plate of spagehetti, but I won't have to duplicate any code. 🙂
Its always good to see another's solution to open up other avenues of problem solving. Again thanks for the assistance.
I wouldn't say you were taking it too deep. In fact I think it was smart. Yes there are a few lines crossing but if you watch what you're doing, it's doable.
I'm happy to hear that I was able to help -- thanks for letting me know.
Don Ireland
Engineering Design Technician
Also -- I do agree with you that it would be nice if we could do as you've described. For that reason, I submitted a feature request.
This comment is specific for Subassembly Composer.
I like the way I can create a nested flowchart and/or sequence. But I'd like to be able to place one "off to the side" that is not connected to the main flowchart. It would have a name (in this example, "X". Then at some point within the main flowchart, indicate that Flowchart X should run.
This would allow the same flowchart to be "inserted" in multiple locations without a whole bunch of crossing lines in the flowchart.
See the following thread for more info.
The more people who request a feature, the better chance we have of getting it implemented.
So please consider submitting a feature request yourself at the following link.
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1109794
Don Ireland
Engineering Design Technician