Create a mirrored Assembly with specific Comp name inside

iPat_1607
iPat_1607 New Altair Community Member
edited October 2020 in Community Q&A

Hallo,

 

i want to sort the standard parts in my Model with an tcl script. So I want to mirror all standard parts into a Assembly with the Name '300'. Further i need sub assemblies for all Screws, Nuts and Washers. For example the structure looks like this:

 

300 (standard parts)

-301 (screws)

-303 (nuts)

-305 (washer)

 

Furthermore the Comp should exist in the root assembly and in the new assembly.

 

Could anybody help me with this Problem?

 

<?xml version="1.0" encoding="UTF-8"?>Sort_Assem.png

Answers

  • tinh
    tinh Altair Community Member
    edited May 2018

    you can select comps by

    *createmark comps 1 'equal to value' name 301* 1

    then create assem with *assemblymodify