This week I got to play a bit with the new Autodesk View & Data API (available in Beta from https://developer.autodesk.com). Many other functions can be used when in full screen mode, like exploding the model and being able to see all parts that conform the model (this happens only if the model format allows it). Many of our other blogs are talking about this exciting new technology and since we are AEC here is a little house for you guys to play with.
Also you will need a WebGL-enabled browser. You can use this site to test.
Here is a link to download the recording of our recent webcast explaining how to get started.
The current loaded model is NWD file which contains information on the selected object such as the Entity Handle Value, which brings me to the next topic for this week.
This week I had a question from a developer regarding the use of Entities and GUID in AutoCAD, BIM 360 Glue and Navisworks. Here is the question.
Question: When I looked at the entity properties in Navisworks and BIM 360 Glue I can see a GUID for each entity. Does the GUID assignment happen when the entity is created in AutoCAD or by the Navisworks viewer?
What about when the model is published to Glue from AutoCAD via the 360 Glue plugin?
Does the Glue plugin use the Navisworks exporter? Also, is the GUID stored on the entity in the drawing?
Answer: Thank you for your questions here are a couple of answers to that.
-What about when the model is published to Glue from AutoCAD via the 360 Glue plugin?
What BIM 360 Glue uses when a model gets glued from AutoCAD is the entity handle that AutoCAD has and this gets transferred with the DWG during the Gluing process.
-Does the Glue plugin use the Navisworks exporter?
Glue does not use the Navisworks exporter, Glue is able to open the DWG model due to the Navisworks Viewer.
-Also, is the GUID stored on the entity in the drawing?
So when you see the model you sent from AutoCAD to Glue, you can see the entity handle displayed at each element followed by the Element ID. When you have a model that goes from either AutoCAD or Glue to Navisworks the exporter assigns the GUID you are seeing on Navisworks.
AutoCAD to Glue will not have a GUID is an Entity Handle what is using. But when you send the DWG from Glue to Navisworks the GUID will get added using the Navisworks exporter to be displayed in Navisworks. Hope it makes sense.
Response: Thanks for the answers. Now I have a few more questions.
I want to implement my own GUID using the entity extension dictionary, is the dictionary accessible through the Glue API? How about AutoCAD Groups?
Answer: Currently the Glue API does not allow such access to either AutoCAD Groups or Entity Extension Dictionary, but bare with me, there is a highly demanded feature and there is already a wish logged to enhance the API to something that might help you with your desire workflow. The enhancement wished for is to add ability to get object properties from models in the API, if your dictionary is included in the properties you will be able to query it.
BIM 360 Glue is a very exciting software to use, I have a personal attachment to it since I come from the initial steps of creation of this technology, and the API is getting bigger and bigger everyday. If I had started your curiosity regarding this product don't wait anymore and go check it out.
Thank you for reading and until next time.