Hi all,
I am looking to get the Numbering property out of the revisions to determine if a revision sequence is set to Numeric or Alphanumeric. Is this possible?
I am using Konrad’s great Revision Properties node but it seems to be missing this one piece of info.
Thank you!
Steve
Konrad’s script doesn’t include the NumberType property but you could edit the custom node and its internal Python script to output this property as well. Following the rest of his code as example, add to the code below his existing definitions (line 45 in original script):
def GetNumType(e):
return e.NumberType
then add in the Try/Except area of his code (after line 58 in original script):
numberType = ProcessList(GetNumType, revs)
and finally in the if errorReport == None
area, add numberType
to the output (in line 66 of the original script)
An alternative if you don’t wish to mess with any Python is to use Element.TryGetPropertyValue from the package Wombat, using the property “NumberType” as the propertyName input.
4 Likes
Perfect! Thank you @awilliams.
I just went with the Element.TryGetPropertyValue option.