IfcSharp / IfcSharpLibrary

Other
64 stars 17 forks source link

Creating new GUID #10

Closed TZwielehner closed 2 years ago

TZwielehner commented 3 years ago

There seem to be two ways to create new guids, either by ifc.GloballyUniqueId() or ifc.GloballyUniqueId.NewId() (the latter being referenced here: https://github.com/IfcSharp/IfcSharpApps/blob/d1e8bb11abc9e39638b9766661443471e568eb58/IfcSharp/hello_project/hello_project.cs). Neither is working for me. Anything I miss?

friedrichEder commented 2 years ago

ifc.GloballyUniqueId.NewId() returns Type ifc.GloballyUniqueId ifc.GloballyUniqueId.CreateNewId() return Type string

the implementation can be found here

i dont get an error when calling either method. can you give me an error-message? for which ifc-version are you trying to build?