For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Primitive (Triangles) does not appear on AIS Context

Abdoulaye Ndiongue's picture


I am trying to display triangles () on a created AIS Context and still cannot see the rendering unfortunately. here is how I implemented the Graphic3d_Group:

// Graphic 3D Environment Settings

StructMng = gcnew NCollection_Haft<Handle(Graphic3d_StructureManager)>(myAISContext()->MainPrsMgr()->StructureManager());

aPresentation = gcnew NCollection_Haft<Handle(Prs3d_Presentation)>(new Prs3d_Presentation(StructMng()));

aGroup = gcnew NCollection_Haft<Handle(Graphic3d_Group)>(Prs3d_Root::CurrentGroup(aPresentation())); 

Handle(Graphic3d_ArrayOfTriangles) myArray = ......;