I am working on a system, for the company that I work for, that will be storing and managing assembly and detail files all as individual STEP files. The system will then be able to download all individual STEP files for all assembly components (detail parts and sub-assemblies) for any specific assembly number. We need an application that is able to open an entire assembly as a batch process by loading the STEP file for the top assembly, and the application then continues loading all components from the other STEP files in the same folder.
I have done this with Catia V5, but we would need a less expensive application for downstream users of this product data, and Creo Elements/Direct Modeling Express would be great. I have not found a way in Modeling Express to batch import an assembly from individual STEP files in this manner. Is Modeling Express capable of doing this, or is this a feature that might be added?
as in the full version, you can use the programming language Lisp in Modeling Express.
Change the following example batch file according to your needs and save it as for example batch.lsp
If you load this batch file in Modeling Express with filetype lisp
the parts or assemblies will be loaded.
cd "C:/tmp/stepdir" ;;change to folder
step_import :FILENAME "B01.stp" complete ;;load part or assembly
step_import :FILENAME "T03.01.stp" complete ;;load part or assembly
step_import :FILENAME "T03.02.stp" complete
step_import :FILENAME "T03.03.stp" complete
step_import :FILENAME "T03.04.stp" complete
step_import :FILENAME "T02.stp" complete
step_import :FILENAME "T02.01.stp" complete
step_import :FILENAME "T02.02.stp" complete
step_import :FILENAME "T02.03.stp" complete
Thanks very much for the tip! I've never programmed in Lisp before, but I will certainly give this a try.
I will have to figure out a way to to parse the top level assembly product structure (a typical example may contain many subassemblies and parts), and then build the Lisp code to properly insert each component (parts and subassemblies) into its parent assembly all the way up the product structure to the top assembly.
If STEP files for the top level assembly, all subassemblies, and all parts are contained within a single folder, Catia V5 will automatically import the entire assembly structure with all parts and subassemblies in their correct parent assemblies as long as you import the top level assembly file first. I'm hoping this will allow me to accomplish the same thing with Modeling Express.