![fhchina's picture fhchina's picture](/sites/default/files/images/userpic_default.png)
Sat, 03/09/2002 - 07:15
Forums:
Hello everybody:
I have just known that there is a new package AIS2D to implement the presentation and selection in 2D, replacing the old ISession2D_InteractiveContext & ISession2D_InteractiveObject. But from manual & CDL file I couldn't find the information how to construct a AIS2D_InteractiveObject so to display it. How to combine AIS2D with 2d geometry package such as Geom2d? Any instruction or sample codes will be highly appreciated.
Fhchina
Fri, 03/15/2002 - 16:27
I 've tried to combine AIS2D_InteractiveContext and objects derived from AIS2D_InteractiveObject. It complies, but AIS2D_InteractiveContext.Display(...) doesnt't work.
Do you have s solution?
Carsten
Fri, 03/15/2002 - 17:19
Yeah! No any result can be shown. I have modified the Sample2DDisplay code as following: replace ISession2D_InteractiveContext with AIS2D_InteractiveContext, replace ISession2D_InteractiveObject with AIS2D_InteractiveObject, these code compiles, but just as you say, doesn't work. Three days ago, I email my modified code to OpenCascade.com, they reproduce the same result, but no solution.