Class
Example (based on pure API calls)
Here you can find code snippets that show how the API call Line3D can be used.
using RDF; // include at least Engine.cs within your solution public void CreateLine3D() { Int64 model = RDF.Engine.CreateModel(); if (model != 0) { // // Classes // Int64 classLine3D = RDF.Engine.GetClassByName(model, "Line3D"); // // Datatype Properties (attributes) // Int64 propertyPoints = RDF.Engine.GetPropertyByName(model, "points"); // // Instances (creating) // Int64 myInstanceLine3D = RDF.Engine.CreateInstance(classLine3D, (string) null); double[] points = { 0.0, 2.0, 0.0, 2.0, 1.0, 0.0 }; RDF.Engine.SetDatatypeProperty(myInstanceLine3D, propertyPoints, ref points[0], 6); // // The resulting model can be viewed in 3D-Editor.exe // RDF.Engine.SaveModel(model, "c:\\created\\myLine3D.bin"); RDF.Engine.CloseModel(model); } }