Changing active document title without saving

Changing active document title without saving

Anonymous
Not applicable
813 Views
6 Replies
Message 1 of 7

Changing active document title without saving

Anonymous
Not applicable

Hello Autodesk Community, 

 

I'm building a simple external app that creates a family document and loads it automatically into a project. The problem is, I wan't to change family document's name before importing it but I don't want to save it since I create and import multiple family documents at once so saving each one to disk will cause a slow-down. Not to mention I must then load that same family from the disk in order to get the name I want, otherwise it will just be generic names like "Family1", "Family2" etc.

 

The family document has a "Title" property but it's read-only.  Is there any workaround?

814 Views
6 Replies
Replies (6)
Message 2 of 7

jeremytammik
Autodesk
Autodesk

Sorry, not that I know.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 7

nbrooksFL6XX
Participant
Participant

Jeremy - Has there been a change in this answer since your first reply in 2014?  I would like to do the same thing.  rename the document in memory - not save to disk.

0 Likes
Message 4 of 7

AGGilliam
Collaborator
Collaborator
I don't think you can change the name of the family from within the family document, but you can rename the family after it's been loaded into a project.
Message 5 of 7

nbrooksFL6XX
Participant
Participant

Thank you.  That’s what I thought.  I was just hoping someone would tell me there really was a new option available now ... that I wasn’t aware of.

0 Likes
Message 6 of 7

RPTHOMAS108
Mentor
Mentor

RAM disk I was thinking but that is a bit elaborate isn't it.

0 Likes
Message 7 of 7

jeremy_tammik
Alumni
Alumni

Nope, sorry, I am not aware of any alternative approach. In many cases, the Revit API designers have intentionally implemented things the way they are for reasons unfathomable to us mere mortals outside the factory.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes