I am trying to set the parameter inside of a family- it is asking for the element itself.
I have tried to pass in the family doc- but is it actually possible to do this within the family? or can I only set family values within the project document?
Ok so the first bit is the getting the DB.FamilyTypes succesfully with the code below, I just need to then be able to either get or set paramters from that:
for doc in Family_DOC:
if doc.IsFamilyDocument:
familymanager = doc.FamilyManager
print (familymanager)
Type = familymanager.Types print (Type)
familyTypesItor = Type.ForwardIterator() print (familyTypesItor)
familyTypesItor.Reset()
while familyTypesItor.MoveNext(): print (“here”)
Familytype = familyTypesItor.Current
print (Familytype)
currentype_name = Familytype.Name
print (currentype_name)
List.append(Familytype)