Git Product home page Git Product logo

Comments (20)

martin1cerny avatar martin1cerny commented on June 9, 2024

Hi @PierreAlexandreADAMSKI ,

IFC always defines PredefinedType on a specific instance (usually at the very bottom of the inheritance hierarchy) and it is always an enumeration of different type. So it is not possible to create any convenient accessor which would return anything else than object so you would still have to try to cast it to all possible types to find out the actual value. Plus you would pay a cost for boxing and unboxing for every such an operation. Plus it is always possible to define custom value using USERDEFINED and ObjectType and it is possible to get the value from defining type (like IfcSlabType where it can also be a custom value defined in ElementType). So it is not that simple really.

The only generic way to get it is to use C# reflection plus additional checks and data search. That will obviously cost more than direct access but it should make your code a lot simpler.

Martin

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

Hey Martin,

thank you for this answer I understand.

Can I ask you another question about xbim?

Pierre

2016-07-20 16:21 GMT+02:00 Martin Černý [email protected]:

Hi @PierreAlexandreADAMSKI https://github.com/PierreAlexandreADAMSKI ,

IFC always defines PredefinedType on a specific instance (usually at the
very bottom of the inheritance hierarchy) and it is always an enumeration
of different type. So it is not possible to create any convenient accessor
which would return anything else than object so you would still have to
try to cast it to all possible types to find out the actual value. Plus you
would pay a cost for boxing and unboxing for every such an operation. Plus
it is always possible to define custom value using USERDEFINED and
ObjectType and it is possible to get the value from defining type (like
IfcSlabType where it can also be a custom value defined in ElementType).
So it is not that simple really.

The only generic way to get it is to use C# reflection plus additional
checks and data search. That will obviously cost more than direct access
but it should make your code a lot simpler.

Martin


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsXB927SmSsDmHtQvUTFm3aEF4eybks5qXi7hgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

Yes you can of course.

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

sometimes (once every ten tries) I have a IndexOutOfBoundException comming
from IfcStore.Open(<string ifcFileName) or a NullElementException coming
from context.CreateContext();

Is that anything to do with the fact that i don't use background worker or
maybe with the size of the ifc file (which may get to 200-300Mo)

2016-07-21 14:37 GMT+02:00 Martin Černý [email protected]:

Yes you can of course.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsSHoTdidP1SpX7OU5Swe3JUBsyGQks5qX2fygaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

hey Martin,

How can I handle both Ifc4 and Ifc2x3 on the same code? I thought all
Xbim.Ifc4.* wroked alkso as an Ifc2x3 but it does not deam to be like it.

thank you

2016-07-21 14:50 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

sometimes (once every ten tries) I have a IndexOutOfBoundException comming
from IfcStore.Open(<string ifcFileName) or a NullElementException coming
from context.CreateContext();

Is that anything to do with the fact that i don't use background worker or
maybe with the size of the ifc file (which may get to 200-300Mo)

2016-07-21 14:37 GMT+02:00 Martin Černý [email protected]:

Yes you can of course.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsSHoTdidP1SpX7OU5Swe3JUBsyGQks5qX2fygaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let any Ifc2x3 using statement to creep in and it will work.

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected] a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G
.

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

actually i've found another way but what bothers me more is that accessing
the propertySets of a building element does not work since i've change all
using with ifc4.

[image: Images intégrées 1]

propObj is always null and it was not before

2016-07-27 13:58 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected] a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

so do I need to check the version to cast properly?

2016-07-27 15:35 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

actually i've found another way but what bothers me more is that accessing
the propertySets of a building element does not work since i've change all
using with ifc4.

[image: Images intégrées 1]

propObj is always null and it was not before

2016-07-27 13:58 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected] a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

Just use IIfcAxis2Placement3D interface instead.
Dne 29. 7. 2016 10:25 napsal uživatel "Pierre-Alexandre ADAMSKI" <
[email protected]>:

so do I need to check the version to cast properly?

2016-07-27 15:35 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

actually i've found another way but what bothers me more is that
accessing
the propertySets of a building element does not work since i've change
all
using with ifc4.

[image: Images intégrées 1]

propObj is always null and it was not before

2016-07-27 13:58 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected] a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
#47 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G

.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvL1pjPr6wnb9EFwtKbFrdLEAhy_auwks5qabkTgaJpZM4JQw7G
.

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

You have to use IFC4 interfaces instead of specific classes.
Dne 27. 7. 2016 15:36 napsal uživatel "Pierre-Alexandre ADAMSKI" <
[email protected]>:

actually i've found another way but what bothers me more is that accessing
the propertySets of a building element does not work since i've change all
using with ifc4.

[image: Images intégrées 1]

propObj is always null and it was not before

2016-07-27 13:58 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected] a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
#47 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G

.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvL1oL8orsn5sGg80jwrZjBKego-N5gks5qZ17PgaJpZM4JQw7G
.

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

That's what I use but if I'm using xbim.ifc4.interfaces it throws an
UnhandleCastException if the schema version is below ifc4 and if I'm using
xbim.ifc2x3.interfaces it throws the same if schema version is ifc4.

I'm running with the last prerelease of version 4 through nugget. Claudio
gave me the link of the nugget repository for the prereleases of version 4

Le 29 juil. 2016 8:37 PM, "Martin Černý" [email protected] a
écrit :

Just use IIfcAxis2Placement3D interface instead.
Dne 29. 7. 2016 10:25 napsal uživatel "Pierre-Alexandre ADAMSKI" <
[email protected]>:

so do I need to check the version to cast properly?

2016-07-27 15:35 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

actually i've found another way but what bothers me more is that
accessing
the propertySets of a building element does not work since i've change
all
using with ifc4.

[image: Images intégrées 1]

propObj is always null and it was not before

2016-07-27 13:58 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected]
a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let
any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<

#47 (comment)

,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G

.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#47 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAvL1pjPr6wnb9EFwtKbFrdLEAhy_auwks5qabkTgaJpZM4JQw7G

.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsSW-9VyMp3x2eTlq-JJ3OCWnuN6eks5qakhngaJpZM4JQw7G
.

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

I see what you by using the interfaces and not specific classes but for
example with IfcObject, the propertySets are not accessible from the
interface so I have to cast anyway no ?

Le 29 juil. 2016 8:57 PM, "Pierre-Alexandre ADAMSKI" <
[email protected]> a écrit :

That's what I use but if I'm using xbim.ifc4.interfaces it throws an
UnhandleCastException if the schema version is below ifc4 and if I'm using
xbim.ifc2x3.interfaces it throws the same if schema version is ifc4.

I'm running with the last prerelease of version 4 through nugget. Claudio
gave me the link of the nugget repository for the prereleases of version 4

Le 29 juil. 2016 8:37 PM, "Martin Černý" [email protected] a
écrit :

Just use IIfcAxis2Placement3D interface instead.
Dne 29. 7. 2016 10:25 napsal uživatel "Pierre-Alexandre ADAMSKI" <
[email protected]>:

so do I need to check the version to cast properly?

2016-07-27 15:35 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

actually i've found another way but what bothers me more is that
accessing
the propertySets of a building element does not work since i've change
all
using with ifc4.

[image: Images intégrées 1]

propObj is always null and it was not before

2016-07-27 13:58 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

Hey,

I tried what you told me and it worked except for one statement
IfcAxis2Placement3D axisFromExpress = (IfcAxis2Placement3D)
Model.Instances.First(i => i.ExpressType.ExpressNameUpper ==
"IFCAXIS2PLACEMENT3D");

that's the only way i found to get the axis's orientation..

still it gives me that :

[image: Images intégrées 1]
[image: Images intégrées 2]

Le 27 juil. 2016 11:09 AM, "Martin Černý" [email protected]
a
écrit :

Use only Xbim.Ifc4.Interfaces namespace for all entities. Don't let
any
Ifc2x3 using statement to creep in and it will work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<

#47 (comment)

,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/ANWnsRkIOuGejc6vQzpAq33pII7l8bqfks5qZyAsgaJpZM4JQw7G

.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
#47 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAvL1pjPr6wnb9EFwtKbFrdLEAhy_auwks5qabkTgaJpZM4JQw7G

.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsSW-9VyMp3x2eTlq-JJ3OCWnuN6eks5qakhngaJpZM4JQw7G
.

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

All data is accessible using IFC4 interfaces. If you are getting UnhandleCastException it is most probably in your code because we use it in some projects already with no problems. Development version of XbimXplorer is one of examples and as you can see it presents all properties as well as other information both for IFC2x3 and IFC4 files.

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

hey martin,
how are you?

I wanted to thank you i understood better how xbim works thanks to you!

I have a quick question maybe you can answer.
I tried to add Xbimtoos individually and manually (no nugget) in a project.
But when i call context.CreateContext(); it says that
Xbim.Geometry.Engine32.dll can't be found.

The dlls are located in a file now called lib instead of packages and the
engine.dll is in the build folder as it comes with nugget.

Do I have to dop anything special so it can found it?

thank you bye!

2016-08-03 9:03 GMT+02:00 Martin Černý [email protected]:

All data is accessible using IFC4 interfaces. If you are getting
UnhandleCastException it is most probably in your code because we use it
in some projects already with no problems. Development version of
XbimXplorer is one of examples and as you can see it presents all
properties as well as other information both for IFC2x3 and IFC4 files.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRcV56FlSHdvTMtBJyg32jfpVVGxks5qcD1YgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

ps : Xbim.Geometry.Targets is also created at same level of x64 and x86
folders

2016-08-10 17:18 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

hey martin,
how are you?

I wanted to thank you i understood better how xbim works thanks to you!

I have a quick question maybe you can answer.
I tried to add Xbimtoos individually and manually (no nugget) in a
project. But when i call context.CreateContext(); it says that
Xbim.Geometry.Engine32.dll can't be found.

The dlls are located in a file now called lib instead of packages and the
engine.dll is in the build folder as it comes with nugget.

Do I have to dop anything special so it can found it?

thank you bye!

2016-08-03 9:03 GMT+02:00 Martin Černý [email protected]:

All data is accessible using IFC4 interfaces. If you are getting
UnhandleCastException it is most probably in your code because we use it
in some projects already with no problems. Development version of
XbimXplorer is one of examples and as you can see it presents all
properties as well as other information both for IFC2x3 and IFC4 files.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRcV56FlSHdvTMtBJyg32jfpVVGxks5qcD1YgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

ps2 : sorry i'm testing so..
I have the same problem adding ref from nugget.

I'm rennung a webApp can that be related?

I have absolutly no issue with a consoleApp

2016-08-10 17:21 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

ps : Xbim.Geometry.Targets is also created at same level of x64 and x86
folders

2016-08-10 17:18 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

hey martin,
how are you?

I wanted to thank you i understood better how xbim works thanks to you!

I have a quick question maybe you can answer.
I tried to add Xbimtoos individually and manually (no nugget) in a
project. But when i call context.CreateContext(); it says that
Xbim.Geometry.Engine32.dll can't be found.

The dlls are located in a file now called lib instead of packages and the
engine.dll is in the build folder as it comes with nugget.

Do I have to dop anything special so it can found it?

thank you bye!

2016-08-03 9:03 GMT+02:00 Martin Černý [email protected]:

All data is accessible using IFC4 interfaces. If you are getting
UnhandleCastException it is most probably in your code because we use
it in some projects already with no problems. Development version of
XbimXplorer is one of examples and as you can see it presents all
properties as well as other information both for IFC2x3 and IFC4 files.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRcV56FlSHdvTMtBJyg32jfpVVGxks5qcD1YgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

I forgot to mention that i use orchard as cms

On a regular consoleApp it works great.

But it looks like the msbuild does not like reflection to much. So it may
be uncompatible to orchard

2016-08-10 17:39 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

ps2 : sorry i'm testing so..
I have the same problem adding ref from nugget.

I'm rennung a webApp can that be related?

I have absolutly no issue with a consoleApp

2016-08-10 17:21 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

ps : Xbim.Geometry.Targets is also created at same level of x64 and x86
folders

2016-08-10 17:18 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

hey martin,
how are you?

I wanted to thank you i understood better how xbim works thanks to you!

I have a quick question maybe you can answer.
I tried to add Xbimtoos individually and manually (no nugget) in a
project. But when i call context.CreateContext(); it says that
Xbim.Geometry.Engine32.dll can't be found.

The dlls are located in a file now called lib instead of packages and
the engine.dll is in the build folder as it comes with nugget.

Do I have to dop anything special so it can found it?

thank you bye!

2016-08-03 9:03 GMT+02:00 Martin Černý [email protected]:

All data is accessible using IFC4 interfaces. If you are getting
UnhandleCastException it is most probably in your code because we use
it in some projects already with no problems. Development version of
XbimXplorer is one of examples and as you can see it presents all
properties as well as other information both for IFC2x3 and IFC4 files.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRcV56FlSHdvTMtBJyg32jfpVVGxks5qcD1YgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

PierreAlexandreADAMSKI avatar PierreAlexandreADAMSKI commented on June 9, 2024

I found the solution.

Using orchard the user should reference Xbim.Geometry.Engine64(&32).dll to
it's project. Unless the compiler wont redirect the dll to the Dependencies
folder.

2016-08-11 11:35 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

I forgot to mention that i use orchard as cms

On a regular consoleApp it works great.

But it looks like the msbuild does not like reflection to much. So it may
be uncompatible to orchard

2016-08-10 17:39 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

ps2 : sorry i'm testing so..
I have the same problem adding ref from nugget.

I'm rennung a webApp can that be related?

I have absolutly no issue with a consoleApp

2016-08-10 17:21 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

ps : Xbim.Geometry.Targets is also created at same level of x64 and x86
folders

2016-08-10 17:18 GMT+02:00 Pierre-Alexandre ADAMSKI <
[email protected]>:

hey martin,
how are you?

I wanted to thank you i understood better how xbim works thanks to you!

I have a quick question maybe you can answer.
I tried to add Xbimtoos individually and manually (no nugget) in a
project. But when i call context.CreateContext(); it says that
Xbim.Geometry.Engine32.dll can't be found.

The dlls are located in a file now called lib instead of packages and
the engine.dll is in the build folder as it comes with nugget.

Do I have to dop anything special so it can found it?

thank you bye!

2016-08-03 9:03 GMT+02:00 Martin Černý [email protected]:

All data is accessible using IFC4 interfaces. If you are getting
UnhandleCastException it is most probably in your code because we use
it in some projects already with no problems. Development version of
XbimXplorer is one of examples and as you can see it presents all
properties as well as other information both for IFC2x3 and IFC4 files.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWnsRcV56FlSHdvTMtBJyg32jfpVVGxks5qcD1YgaJpZM4JQw7G
.

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

Pierre-Alexandre Adamski
M2 @ ISEN-Lille (All is Digita)
[email protected]
07.91.70.53.78

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

Deployment of native libraries is little bit difficult. After several years of experience we do our best to simplify the process but as you've found you might need to do some extra steps in specific scenarios like yours.

from xbimessentials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.