Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
MTheDesigner
in reply to: JelteDeJong

Hey @JelteDeJong Thanks for responding.

 

I have a couple of questions regarding how your implementation works.

 

Dim newDoc As Document = CreateNewDoc(refDoc)

where are you accessing this CreateNewDoc command from, or is this supposed to be a reference to my code doing this?

Dim occs = def.Occurrences.AllReferencedOccurrences(refDoc)

Can you use a document to select an occurrence? The argument says it should be looking for a component occurrence.

occ.ReferencedFileDescriptor.ReferencedDocument(....)

I don't know what .... means. Is this an operator or is this where I am supposed to put my new document