polyline with arc

polyline with arc

Anonymous
Not applicable
600 Views
4 Replies
Message 1 of 5

polyline with arc

Anonymous
Not applicable

Hello,

Here is one question troubled me for a while.When I use AcGe, I found polyline can only express LineSegs, If I want convert Curves(linesegs and arcs) into polyline, Is there any class can use?

Thank you!

0 Likes
601 Views
4 Replies
Replies (4)
Message 2 of 5

Alexander.Rivilis
Mentor
Mentor

Functions acdbConvertAcDbCurveToGelibCurve() and acdbConvertGelibCurveToAcDbCurve() (begining only with ObjectARX SDK 2012) can help you convert DB-curve to GE-curve and vice versa

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks a lot.

I mean that AcGePolyline3d can only Express Linear Entities, If I want describe both LineSeg and Arc use AcGePolyline3d, how can I do?

0 Likes
Message 4 of 5

Alexander.Rivilis
Mentor
Mentor

From ObjectARX SDK Docs: AcGePolyline3d Represents a piecewise linear spline entity in 3D space.

That is why you have to using AcGeCompositeCurve3d class in order to represent connected end to end linear and arc segments, but can not using AcGePolyline3d

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

0 Likes
Message 5 of 5

Anonymous
Not applicable

I used AcGeAugPoyline3d instead, it looks fit my target.

Thanks

0 Likes