How to add cylinder to Block

How to add cylinder to Block

Anonymous
Not applicable
864 Views
2 Replies
Message 1 of 3

How to add cylinder to Block

Anonymous
Not applicable

Hello. I need create a block consisting of cylinder. Cylinder create from AcGeCylinder. But appendAcDbEntity  of AcDbBlockTableRecord

needed a AcDbEntity type. How may be convert AcGeCylinder to AcGeCylinder?

0 Likes
Accepted solutions (1)
865 Views
2 Replies
Replies (2)
Message 2 of 3

Alexander.Rivilis
Mentor
Mentor
Accepted solution

@Anonymous wrote:

Hello. I need create a block consisting of cylinder. Cylinder create from AcGeCylinder. But appendAcDbEntity  of AcDbBlockTableRecord

needed a AcDbEntity type. How may be convert AcGeCylinder to AcGeCylinder?


You have to create cylinder not with AcGeCylinder but with AcDb3dSolid::createFrustum method

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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 3

Anonymous
Not applicable

Thank you, Alexander.

0 Likes