Simple iLogic Request - Copy Custom iProp to Real/Existing iProp

Simple iLogic Request - Copy Custom iProp to Real/Existing iProp

GKPByDesign
Advocate Advocate
348 Views
1 Reply
Message 1 of 2

Simple iLogic Request - Copy Custom iProp to Real/Existing iProp

GKPByDesign
Advocate
Advocate

Hey,

 

I require an iLogic rule to grab a custom iProp and to copy it into an existing iProperty.

 

Custom iProp is Item_Type

Existing iProp is Project

 

I cannot remember how to do this, and I know it is very simple. The custom I prop is a multi value drop down value, would this be an issue? 

0 Likes
Accepted solutions (1)
349 Views
1 Reply
Reply (1)
Message 2 of 2

Sergio.D.Suárez
Mentor
Mentor
Accepted solution

Hello, here is a simple example to do what you need

	iProperties.Value("Project", "Project") = iProperties.Value("Custom", "Item_Type")

Then this would be another way to access what you're looking for

Dim oDoc As Document = ThisDoc.Document

' Get the PropertySets object. 
Dim oPropSets As PropertySets 
oPropSets = oDoc.PropertySets 

oCustom = oPropSets.Item("Inventor User Defined Properties").Item("Item_Type").Value
oPropSets.Item("Design Tracking Properties").Item("Project").Value = oCustom 

I hope it will be useful to solve your problem. regards


Please accept as solution and give likes if applicable.

I am attaching my Upwork profile for specific queries.

Sergio Daniel Suarez
Mechanical Designer

| Upwork Profile | LinkedIn