Can you do an example on textNote? Since it is neither a native or loaded family, it seems. Also how can you set a default textNote style please? Thank you🙏
It's a native family in Revit. So we need to use GetDefaultElementTypeId Here is example: text_id = doc.GetDefaultElementTypeId(ElementTypeGroup.TextNoteType) text = doc.GetElement(text_id) print(text.Name) Regarding the error: It looks like you had some typo when accessing a property. Maybe you used something different to ElementTypeGroup?
Thanks for the example coding. I'm using R2019 and unsuccessfully trying to get default dimension style - any suggestions?
Do you get any error messages ?
Can you do an example on textNote? Since it is neither a native or loaded family, it seems. Also how can you set a default textNote style please? Thank you🙏
Upon displaying result using TextNoteType I am getting: TypeError: Instance property must be acessed through a class instance
It's a native family in Revit. So we need to use GetDefaultElementTypeId
Here is example:
text_id = doc.GetDefaultElementTypeId(ElementTypeGroup.TextNoteType)
text = doc.GetElement(text_id)
print(text.Name)
Regarding the error:
It looks like you had some typo when accessing a property. Maybe you used something different to ElementTypeGroup?
Speed for me to 0.75x 😅
Thanks, for that video, it's exactly what I am looking for 👋
Oh, I actually thought I made it slower than usual 😅
Happy to Help!
it was too fast for a beginer #Flash :)