DG Kernel Documentation

Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Computing > IObjectGenerator_DG Search Documentation

IObjectGenerator_DG Interface


The returned object is an interface. Its name is the type string prepended with 'I'. For an examle, a call to Create("Array_DG", ..) returns IArray_DG interface.

Exception: In x64 DG Kernel edition Create("Mesh", ..) returns IMesh64

The table below may be out of date after updates so it is recomended to try name of the required interface (without the leading I)

Implemented type string values

2DPointArray_DG BRepWire_DG WireArrayToSurfaceBuilder_DG
Arc BRepVertex_DG MapUnkn_DG
ArcSplineCurve BSplineCurve_DG Matrix_DG
Array_DG BSplineCurveInterpolator_DG Mesh
ArrayInt_DG BRepShell_DG Model_DG
ArrayDouble_DG BRepSolid_DG Move
Box_DG BSplineSurface_DG PathCollisionDetector
BRepBuilder_DG Circle_DG Pipe
BRepBuilderEx_DG Circle2d_DG Plane_DG
BRepChamfer_DG CylindricalSurface_DG PointArray_DG
BRepDraftAngle_DG Dictionary_DG PointMatrix_DG
BRepEdge_DG Entity_DG Line2d_DG
KO_BRepExtrema_DistShapeShape ESPAlgorithm ShapeArray_DG
BRepFace_DG Frame_DG StickyLabel
BRepFeaturePrism_DG List_DG VirtualView
BRepFillet_DG Line_DG  


CutEffect_KC KO_Geom_Plane KO_TColStd_Array1OfBoolean
Dictionary_KC KO_Geom_BSplineSurface KO_TColStd_Array1OfInteger
Ellipse_KC KO_Graphic2d_Point KO_TColStd_Array1OfReal
KO_BRep_Builder KO_Graphic2d_Text KO_TColStd_Array2OfReal
KO_BRep_Tool KO_gp_Ax1 KO_TColgp_Array2OfPnt
KO_BRepBuilderAPI_MakeEdge KO_gp_Ax2 KO_TopoDS_Builder
KO_BRepBuilderAPI_MakeFace KO_gp_Ax22d KO_TopoDS_Compound
KO_BRepBuilderAPI_MakeWire KO_gp_Ax2d KO_TopoDS_CompSolid
KO_BRepOffsetAPI_ThruSections KO_gp_Ax3 KO_TopoDS_Edge
KO_BRepPrimAPI_MakePrism KO_gp_Circ KO_TopoDS_Face
KO_Geom2d_Geometry KO_gp_Circ2d KO_TopoDS_Shape
KO_Geom2d_Circle KO_gp_Cone KO_TopoDS_Shell
KO_Geom2d_Conic KO_gp_Cylinder KO_TopoDS_Solid
KO_Geom2d_Curve KO_gp_Sphere KO_TopoDS_Vertex
KO_Geom2d_Line KO_gp_Torus KO_TopoDS_Wire
KO_GeomAPI_Interpolate KO_gp_Pln Label3D_KC
KO_GeomAPI_PointsToBSpline KO_gp_Quaternion Measurement_KC
KO_Geom_BSplineCurve KO_gp_Trsf PrizmInfinite_KC
KO_Geom_Circle KO_TColgp_Array1OfPnt StripArcLine_KC
KO_Geom_CylindricalSurface KO_TColgp_Array1OfVec TextSection_KC

Object Create(string type)

See the comments above

Object Create1(string type, Object iParam)

iParam - a parameter specific for the requested type.

Type Expected iParam type
"BRepEdge_DG" ICurve_DG
"BRepWire_DG" ICurve_DG
"BRepFace_DG" IBRepWire_DG or IUVSurface_DG

See the comments above for the other parameters

Object Create2(string type, IDictionary_DG params)

The method currently has no imlemented cases