
Originally Posted by
theald
I have a PSD that applies to conduit and conduit fittings. Everything works fine for the Conduit part, but I can't get the fittings to work correctly. This is what I got for the fittings:
*This property set reference 2 different objects which I think is the problem. The [Length] refers to the automatic property definition of Length for conduit. [PartType] refers to the automatic property set MEP assigns to objects.
If "[Length]" = "?" Then
RESULT = "1"
Else
Select Case [PartType]
Case ELBOW
RESULT = "1"
Case CONDUIT
bLAH bLAH bLAH
Case Else
RESULT = "1"
End Select
End If
Now let me explain. I took out all the conduit stuff because its long and boring so thats probably why it doesn;t make a whole lot of sense. The If/Then is there because when I schedule the PSD, everywhere there is a [Length] it shows a "?". I thought that might take care of my issue but I guess not. The Case Else is there because I thought that it might be a problem that if [PartType] wasn't actually called "Conduit" or "Elbow" by MEP it would still give me the "1" that I want but that didn't work either.