Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

IFC ELEMENT GET GEOMETRY INFO : SOLID, FACES, CURVES, THICKNESS...

0 ANTWORTEN 0
Antworten
Nachricht 1 von 1
programmer59
214 Aufrufe, 0 Antworten

IFC ELEMENT GET GEOMETRY INFO : SOLID, FACES, CURVES, THICKNESS...

Hi Everybody

 

I need some help concerning IFC File.

When I import a IFC File, I need to get information on its element.

But when I try to get geometry, solid and faces of a ifc element, these variables are null.

 

Could someone please give me an example of getting information of IFC elements?

For example :

ifc slab => get faces and curves (nodes and coordinates) and thickness if possible

ifc wall => the same thing

 

I used to do this for a original revit model (not ifc) and it works fine. But the same method for ifc elements doesn' work.

 

For example concerning Floors (let Be a Revit floor FL0):

Floor FL0

Options option=doc.Application.Create.NewGeometryOptions();
GeometryElement geometryElement=FL0.get_Geometry(option);

foreach (GeometryObject obj in geometryElement)
            {
                solid=obj as Solid;
            }

FaceArray faces=solid.Faces;

 

Best regards.

 

 

 

0 ANTWORTEN 0

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report