Type Casting of Presentation object.

hi all...

I want to convert
Handle(Prs3d_Presentation)
to Prs3d_Presentation*...
any bady knows how to do this.
type casting....

Thanks in advance for any help
ajit

fhchina's picture

Try this:

Handle_Prs3d_Presentation Handle;
Prs3d_Presentation* p = (Prs3d_Presentation*)(Standard_Transient*)handle;

fhchina

ajit_sd9's picture

hi..fhchina.. ..:-)
Thank you very much..it works..^|^
ajit