iPart- Set Part Number to Extrusion Size

iPart- Set Part Number to Extrusion Size

Chirpyboy2060647
Advocate Advocate
405 Views
1 Reply
Message 1 of 2

iPart- Set Part Number to Extrusion Size

Chirpyboy2060647
Advocate
Advocate

Hello All,

 

So im trying to get back into iParts and its probably very simple but I have forgotten. I would like for my 'Part Number' to read M1000 - (EX) where EX is the size of the extrusion and M1000 is just the Name of the object. How do i go about doing that? 

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

Anonymous
Not applicable

you could do it a few different ways.

 

In all ways, I think it is best to give the EX parameter a name in the parameters screen. Let's say you chose EX, because you did.

 

You could create an ilogic Rule that did this, but I'm not sure it would update when the parameter changed.

 

iProperties.Value("Project", "Part Number") = "M1000 - " & Parameter("EX").Value

 

In the way I will suggest below, you also need to set EX to be an export parameter (and you should get the formatting how you want it also, while you're there.)

 

You can set the Part number field in the iproperties screen to be an equation. Just type = M1000 - <EX> and hit enter

 

Parameters need to be set to export and encapsulated by those characters to pull in to the equation. You'll see what I mean about needing to change the format if you look at my pictures.

 

Hope that helps,

Dave

 

0 Likes