helpsterTee / Unity-IFCEngine

Import scripts for IFC files
MIT License
58 stars 14 forks source link

Make identifying IFC attributes available in Unity #6

Closed eswarborra closed 5 years ago

eswarborra commented 5 years ago

Hi, I there any way to show complete mesh name in my mesh.

I can load my IFC file into unity and i can see the 3D data also. But i am unable to see all data string inside the hierarchy. Please find the image for your reference.

Can any please help me how i can achieve this Image:1 This what i can see inside the IFC file in notepad capture1

Image:1 This what i can see inside the IFC file in Unity3d capture2

Thanks, ESWAR

eswarborra commented 5 years ago

I want to see complete string inside my Unity..Is this possible

helpsterTee commented 5 years ago

@eswarborra could you please attach your zipped IFC file or a similar example for testing?

eswarborra commented 5 years ago

Yes I will, But not in public :(.... can you please send me your mail id i will forward that IFC file to you.. My Mail ID : eswarkumar.borra@gmail.com

helpsterTee commented 5 years ago

Seems like I got it working without the example. Please check latest master.

Changed files: Assets/Plugins/IfcEngineWrapper.dll Assets/IFCImporter/ScIFC/ImportIFC.cs Assets/IFCImporter/ScIFC/Manager.cs

Just check the box in the Manager component: Screenshot

Please report back, if it's working. I may have missed a line (maintaining two projects for this one).

eswarborra commented 5 years ago

It is working, but some of nodes are missing.. Can you please share your mail id will send you my IFC file to you for better understanding what i am missing..

Basically i want to map and Show Values of particular objects with the help of our API.. If i get the unique code of each mesh , i can easily map and show the values in run time. When i open my IFC file with notepad, it showing UniqueCode but i can't see that inside Unity3D . Please do help, to achieve this. Please find the attachments for better Understanding capture1 capture2 capture3

helpsterTee commented 5 years ago

Ah I see. Yes the missing ones are not named and therefore the type is used.

I guess using the GUID is possible, but it won't work via naming the gameobject. We would need another component that is attached to the object and stores these values. Because you have GUID, name, description and type. And most of the people would need all of them.

I will see if I can do this the next few days. Just send your file to human@helpsterte.eu

eswarborra commented 5 years ago

Hi, Can You get my mail....?? Can you Please tel me there is any Update regarding this....

helpsterTee commented 5 years ago

Yes, I did get your email. You will be notified of any update to this issue.

eswarborra commented 5 years ago

Thank you.. :)

helpsterTee commented 5 years ago

@eswarborra please check latest master: Imgur

eswarborra commented 5 years ago

Wow Fantastic..Thank you...

helpsterTee commented 5 years ago

No problem :) Just leave a comment when you have tested it and it is working for you, so I can close this issue.

eswarborra commented 5 years ago

@helpsterTee In Editor its showing fine form me...But when i am trying to build this an a app its showing errors. ( I tryed with iOS and UWP Windows platform )

  1. Assets/IFCImporter/ScIFC/ImportIFC.cs(21,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing an assembly reference?
  2. Error building Player because scripts had compiler errors
  3. Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Can please please help me regarding this... i made all maping with my API. but @unable to see output in my

EditorLog.txt

helpsterTee commented 5 years ago

Ah yes, someone mentioned this to me at the Christmas party last year. I have to remove the editor usage. Will look at it.

eswarborra commented 5 years ago

Ah yes, someone mentioned this to me at the Christmas party last year. I have to remove the editor usage. Will look at it.

Ok..Thank you. :) Can you please also look the same on UWP ..?

helpsterTee commented 5 years ago

It should work for all platforms then, if that's the only problem. I'm including stuff there that's not available in release builds.

eswarborra commented 5 years ago

Wow that is great news thank you @helpsterTee ... I am waiting for the new build..