Hi everybody,
I'm trying to create an helix using ObjectARX and I have a problem with startpoint. It's always at 0,0,0. Here's my code:
AcGePoint3d centerPoint2(50, 50, 50);
AcDbHelix* pHelix = new AcDbHelix();
pHelix->setDatabaseDefaults();
pHelix->setConstrain(AcDbHelix::ConstrainType::kTurns);
pHelix->setStartPoint(centerPoint2);
pHelix->setBaseRadius(20);
pHelix->setTopRadius(20);
pHelix->setTurns(20);
pHelix->setHeight(500);
pHelix->createHelix();
What am I doing wrong?
Thank you,
André