Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Real time central file access data

5 REPLIES 5
Reply
Message 1 of 6
luseche
350 Views, 5 Replies

Real time central file access data

I am looking to have data information regarding the central files in our company, with the option of obtain the following:

 

* How many users of all the disciplines are using the central files?

* Real time data of file size

* Does anyone is on the central file and did not open a local copy?

* What families are use the most in our company?

* have the oportunity to elaborate this information graphically.

* Hardware iformation about the users( memory size, Microprocessor)

 

Thank you for your help,

 

Lui

 

Tags (1)
5 REPLIES 5
Message 2 of 6
jeremytammik
in reply to: luseche

Dear Lui,

 

Those are interesting question you raise.

 

Maybe we should take them one by one.

 

I recently heard from a colleague who had a potential partial solution to one of them:

 

I would like to identify ALL users contributing to a central model at given point in time.

 

Is there any direct method or foolproof way to get this list?

 

The best we found so far is a kludge using something like the following on relevant element(s):

 

WorksharingDisplaySettings se 
  = doc.GetElement(newElementId(11061452))
    as WorksharingDisplaySettings;

List<string> lista 
  = se.GetAllUsersWithGraphicOverrides()
    .ToList();

However, we are completely unsure ... 

 

Is it guaranteed that ALL users will have such overrides?

 

I hope this helps.

 

Cheers

 

Jeremy



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

Message 3 of 6
jeremytammik
in reply to: jeremytammik

Dear Lui,

 

I have some further input on your query.

 

Some of the issues you raise have little or nothing to do with the Revit API, so you should probably not expect specialised Revit API responses on them.

 

  • Real time data of file size: this can be queried from the operating system.
  • Hardware information about the users (memory size, Microprocessor): this can be queried from the operating system.
  • Have the opportunity to elaborate this information graphically: there are a number of ublic domain, open source and commercial graphing libraries that you can use. A very large number, in fact. I would suggest using one of those, or, alternatively, writing your own 🙂
  • What families are used the most in our company? This can be determined by scanning all models and counting the family instances. Here is a four year old discussion of how to easily create a family usage report:

 

http://thebuildingcoder.typepad.com/blog/2010/12/xml-family-usage-report.html

 

I have asked the development team for some further advice on the remaining two:

 

  • How many users of all the disciplines are using the central files?
  • Is anyone on the central file and did not open a local copy?

 

I hope this helps.

 

Best regards,

 

Jeremy



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

Message 4 of 6
mc_yhanika
in reply to: luseche

Desr Lui,

To address question no. 1 how many user using central file. I am using worksharing monitor from subscription, i can see fron there who is using my central file and who is using the central, it also allows me to check the performance of my system and ahows if someone is uploading(synch to central)

Regards,
Mark
Message 5 of 6
mc_yhanika
in reply to: luseche

To address question no. 1 how many user using central file. I am using worksharing monitor from subscription, i can see from there who is using my central file, it also allows me to check the performance of my system and ahows if someone is uploading(synch to central)
Message 6 of 6
luseche
in reply to: mc_yhanika

Thank you mc_yhanika for your reply, 

 

We have a policy of using Worksharing Monitor in all the shared projects, and you are right, it is a helpful tool. However, we are looking for the way of tracking several projects simultaneously, this will help us to track, prevent, and localize problems regarding: Central files open not as a local, Memory resources (by User).

 

It is like having a workshared monitor for the whole company. one central station where you can track this data without having to open each of the projects.

 

Best Regards,

 

Lui 

Tags (1)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community