Good day,
this is possible -get ParameterGroup as Revit.Elements ?
i would like to get Names of them like in Revit
Good day,
this is possible -get ParameterGroup as Revit.Elements ?
i would like to get Names of them like in Revit
Sorry, could you please rephrase the question?
BuiltInParameterGroup is havent Description or Name so this is trouble
I’m also lost… the Parameter.Group node isn’t sufficient? Can you post a rvt and dyn so we can understand what you’re after?
its need to get names as in Revit of all ParameterGroup (PG_)
Get all PG_
import clr
clr.AddReference("ProtoGeometry")
from Autodesk.DesignScript.Geometry import *
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *
import System
OUT = [i for i in System.Enum.GetValues(BuiltInParameterGroup)]
Hi @til.shviger
its Very Good news ! .I am pleased that this is a possibility
@Kulkul
thanks again for your help
@til.shviger No Problem
@Kulkul
you are can use new avatar
Hi,
I try to use this code, but after writing it down, I have no result.
import clr
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
import System
bip = System.Enum.GetValues(BuiltInParameterGroup)
pdata = list()
for b in bip:
try:
pdata.append((b,LabelUtils.GetLabelFor(b)))
except:
pass
#Weisen Sie Ihre Ausgabe der OUT-Variablen zu.
OUT = pdata
this is the result
can Anybody help me?
THank you
Heinrich
What are you get in bip ? may be you are get empty list ? try :
import clr
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
import System
bip = System.Enum.GetValues(BuiltInParameterGroup)
OUT = bip
Python is indent sensitive, try recreating all indents in your script
Thankyou for this post. I don’t have words to thank you Mr. @Kulkul. Your script has saved immense time for me. Thank you so much sir. God bless you.
~J