For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Problem in attaching shape with name

Anonymous's picture
Forums: 

Hello all,

I am creating a cylinder and want to attach it with name "myCylinder". But it is not working. Can anybody tell me why?

BRepPrimAPI_MakeCylinder *ccc = new BRepPrimAPI_MakeCylinder (50.,200.);

DBRep::Set("myCylinder", ccc->Shape());

Its hanging here.

thanks