How do I access the System Family: Project Information object?


#1

I would like to read parameter values that are custom parameters that are a part of the System Family: Project Information. It is not listed under Family Types and I can’t access it through GetParamiterValueByName because I can’t get the Element. Any ideas?


#2


#3

Hi @Vikram_Subbaiah, How do you do this in Python? I want to get one parameter value using only python but I’m still getting an error:

import clr

clr.AddReference('ProtoGeometry')
import Autodesk.DesignScript.Geometry
from Autodesk.DesignScript.Geometry import *

clr.AddReference('DSCoreNodes')
from DSCore import *

clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager

#The inputs to this node will be stored as a list in the IN variables.
input = IN[0]

doc = DocumentManager.Instance.CurrentDBDocument

ProyInfo = UnwrapElement(doc.ProjectInformation)

ruta = ProyInfo.GetParameterValueByName("Parameter Name")

#Assign your output to the OUT variable.
OUT = ruta 

Thanks in advance!