Content center - Only view one library

Content center - Only view one library

Anonymous
Not applicable
530 Views
4 Replies
Message 1 of 5

Content center - Only view one library

Anonymous
Not applicable
I've started my own content center library so i can customize the naming conventions of nuts/bolts etc.. I have two questions about it:

1) how can i isolate which library inventor looks at for content. For example.. When i select "place from content center" I ONLY want it to look in my library, and not the standard inventor libraries for parts in order to avoid confusion.

2) I've created new columns in the family tables and filled them in with our part numbers (company-specific) But, when i place one of these in the model, i cant seem to figure out how to reference (or even find) those numbers under iproperties)


Any help is appreciated,
Dan
0 Likes
531 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
There currently isn't an API for Content Center so you can't automate doing
the things you want to do. If you don't care about automation and just want
to know how to do them you might have better luck in the general
autodesk.inventor newsgroup. I don't know the answer myself.
--
Brian Ekins
Autodesk Inventor API
0 Likes
Message 3 of 5

Anonymous
Not applicable

Okay, so now it is about 8,5 years later and now we can.

 

I have managed to get the families from the content center.

But now I want to use the FamilyManager.CopyFamily() command,

Apperently it needs the family ID, original library ID and the library ID to copy it to.

 

But how can I optain these ? A Family has no ID, only RevisionId and how can I get the seperate libraries ??

 

This code:

ContentTreeViewNode ctvn = contentcenter.TreeViewTopNode;

 

Gives me all libraries (Merged view), but not the seperate ANSI, DIN, ISO ect. libraries. 

How can you get a list of all available libraries in the content center ?

 

 

0 Likes
Message 4 of 5

Anonymous
Not applicable
Anyone ?
0 Likes
Message 5 of 5

adam.nagy
Autodesk Support
Autodesk Support

For this as well there seems to be only a hidden/unsupported API, LibraryManager.GetServerLibraries(), which returns an xml that you can parse.



Adam Nagy
Autodesk Platform Services
0 Likes