add a newly created part to assembly without saving

add a newly created part to assembly without saving

Cadkunde.nl
Collaborator Collaborator
252 Views
2 Replies
Message 1 of 3

add a newly created part to assembly without saving

Cadkunde.nl
Collaborator
Collaborator

Hello,

 

When placing in an assembly you use:

Componentdefinition.occurrences.add()

It requires a fulldocument name and a matrix.

 

Fulldocument name requires you to save the part first

I generate a lot of parts and want to have the user save at the end if the result is good (and use vault namingscheme)

 

Manually you can add unsaved documents to an assembly:

In modelbrowser, right click the name (part1) --> Copy

Then go to assembly: Paste

 

Is it possible to simulate this?

0 Likes
Accepted solutions (1)
253 Views
2 Replies
Replies (2)
Message 2 of 3

Michael.Navara
Advisor
Advisor
Accepted solution
Message 3 of 3

Cadkunde.nl
Collaborator
Collaborator

ty, works

0 Likes