Transfer information using iLogic

Transfer information using iLogic

Anonymous
Not applicable
464 Views
2 Replies
Message 1 of 3

Transfer information using iLogic

Anonymous
Not applicable

Hi everyone, is it technically possible to write a number from the material editor to iProperties via a rule?

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

ckeveryga
Advocate
Advocate
Accepted solution

From this post

 

If ThisApplication.ActiveDocumentType <> kPartDocumentObject Then Exit Sub

Dim oDoc As PartDocument
oPartDoc = ThisApplication.ActiveDocument

Dim oMat As Asset
oMat = oPartDoc.ActiveMaterial

iProperties.Value("Project", "Stock Number") = oMat.Item("physmat_Comments").Value

 

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thank you, it works great.

0 Likes