Automate sub-layout creation

Automate sub-layout creation

Anonymous
Not applicable
362 Views
1 Reply
Message 1 of 2

Automate sub-layout creation

Anonymous
Not applicable

Hi,

 

I'm looking to automate our sub-layout creation in Factory. We make large layout for the industry and we have a ERP structure that we build our layouts around. But, the prepositional work in creating these sub-layouts is very time consuming.

 

The filename for the top level is always a unique 5-digit quotation number, after that a prefix is added 

 

My idea is:

Once you have created your top level Factory layout, dubbed that 12345 (i.e.) and saved it, you would run a rule called "create sub-layouts". The rule would then look at the filename for the top layout and add the prefix

 

I have attached picture, which hopefully explains it better

0 Likes
363 Views
1 Reply
Reply (1)
Message 2 of 2

CattabianiI
Collaborator
Collaborator

It's all about creating, placing and saving an assembly starting from the leaf:

' Get the layout document name

' Create the assembly leaf and save it with the layout_document_name + "01-01-00001"

' Create the parent assembly, place the previous one and save it according to your naming rule.

' And so on


If I understood properly they are all quite simple and well documented tasks.

0 Likes