Do-able, but you are missing a rather important step. The new assembly (and
subassemblies) need to know they are now comprised of parts that are named
differently. AssyA contains PartA and PartB. The copied assembly, AssyA01,
has to load PartA01 and PartB01. You might want to think about doing this in
VB and using Inventor's Apprentice Server. For a short discussion of this
topic, search for Apprentice Server in the Programming Help.
Cheers,
Neil
"Colin" wrote in
message news:CE92D331CB15CD1672C900A6B78439F4@in.WebX.maYIadrTaRb...
> Hi guys,
>
> I've got a situation where an iAssembly (like an iPart) would be the
bomb...
> Of course, we all know they're not available yet, which brings me to my
> question:
>
> Would it be possible to write a script that performed the following
> functions -
> 1. Copy an assembly and all its parts to a new folder.
> 2. Rename that assembly (either add a numeral at the end or prompt the
user)
> and all its parts.
> 3. (This one probably wouldn't be 100% necessary) Switch OFF the
"Adaptively
> used in assembly" button in the document settings.
>
> I'm thinking if you had a script that could do this, you could set it up
> such that you run the script, it asks you which "iAssembly" you want and
> what folder you'd like it created in, and then began the "place component"
> command... And you'd then have a fresh sub-assy you could adapt to the
> situation without ruining the one that came before it...
>
> Sound good? Sound possible?
>
> Thanks... (warning, if you tell me it is possible I shall be back in here
> tomorrow asking for help when I get stuck almost immediately 🙂
>
> Col.
>
>