DiscussionsIssue archiveOther usage issues

Archived discussion

conversion from BRepPrimAPI_MakeCylinder to TopoDS

Other usage issuesFri, 04/13/2001 - 11:172 replies

Browse this forum
QuestionAuthor

HI, can you help me to solve this trouble ?

"conversion from BRepPrimAPI_MakeCylinder to TopoDS_Shape is ambiguous"

while

TopoDS_shape shape; shape = BRepPRimAPI_MakeBox(1,2,3);

it's ok

thanx ... alessio G

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hello,

try : TopoDS_Shape MyShape = BRepPRimAPI_MakeBox(1,2,3).Shape(); It's duce of an alias problem with your compiler. Regards

arnaud

02Commenter-1

This problem occur with : BRepPrimAPI_MakeCylinder and not with BRepPRimAPI_MakeBox

arnaud