Circle
Class
class GeometricItem relation material range Material, cardinality [0, 1] class Curve class ConicalCurve property a range double (64 bit), cardinality [1, 1] property start range double (64 bit), cardinality [0, 1] property size range double (64 bit), cardinality [0, 1] property segmentationParts range integer (64 bit), cardinality [0, 1] class Circle subClasses class CircleByPoints
Example
Here you can find code snippits that show how the API call Circle can be used.
using Engine; public void CreateCircle() { Int64 model = Engine.x86_64.CreateModel(); if (model != 0) { // // Classes // Int64 classCircle = Engine.x86_64.GetClassByName(model, "Circle"); // // Datatype Properties (attributes) // Int64 propertyRadius = Engine.x86_64.GetPropertyByName(model, "radius"), propertyStart = Engine.x86_64.GetPropertyByName(model, "start"), propertySize = Engine.x86_64.GetPropertyByName(model, "size"), propertySegmentationParts = Engine.x86_64.GetPropertyByName(model, "segmentationParts"); // // Instances (creating) // Int64 myInstanceCircle = Engine.x86_64.CreateInstance(classCircle, (string) null); double radius = 1.3, start = 1.57079633, size = 3.14159265; Int64 segmentationParts = 36; Engine.x86_64.SetDatatypeProperty(myInstanceCircle, propertyRadius, ref radius, 1); Engine.x86_64.SetDatatypeProperty(myInstanceCircle, propertyStart, ref start, 1); Engine.x86_64.SetDatatypeProperty(myInstanceCircle, propertySize, ref size, 1); Engine.x86_64.SetDatatypeProperty(myInstanceCircle, propertySegmentationParts, ref segmentationParts, 1); // // The resulting model can be viewed in 3D-Editor.exe // Engine.x86_64.SaveModel(model, "c:\\created\\myCircle.bin"); Engine.x86_64.CloseModel(model); } }