Home
Reply
dxw
Contributor
dxw
Posts: 11

The problem of faces being invisible when set visible

Now I'm faced with a tough problem.I've got a block and try to display it on platform of ACIS of HOOPS.After adding it to ACIS ,transporting to HOOPS and updatedisplay,nothing appears on the screen.When enabling edge highlighti,the edges are visible,yet enabling face highlighti makes no effect.Besides,when saving the entity with api_restore_entity_list,etc and reading in with api_restore_entity_list,etc,the display becomes quite normal,with both faces and edges visible.How should it be so?What shall I do to modify the entity and make it displayed normal?

Spatial Employee
amita
Posts: 30

Re: The problem of faces being invisible when set visible

Hi,

 

We will need some code snippets before we suggest anything to you. Rough algorithm will also do.

 

 

 

 

Thanks
Amita
dxw
Contributor
dxw
Posts: 11

Re: The problem of faces being invisible when set visible

[ Edited ]

Hello,amita! Thanks for your attention!

 

The algorithm is just as follows: on platform of ACIS and HOOPS,I created an entity(block/sphere) with the acis-api function ,deleted it and save the operation in a self-defined delta_state ds. Then I searched the ds with function find entities(ENTITY_DELETED,elist) to find the just deleted block/sphere. After that,with pointer of the searched entity ,we do 'AddAcisEntity' and 'HA_Render_Entity'. Now what appears is as what I showed last time that:   

 

"nothing appears on the screen.When enabling edge highlighti,the edges are visible,yet enabling face highlighti makes no effect.Besides,when saving the entity with api_restore_entity_list,etc and reading in with api_restore_entity_list,etc,the display becomes quite normal,with both faces and edges visible". 

 

 

Best wishes!

Spatial Moderator
ybiyani
Posts: 223

Re: The problem of faces being invisible when set visible

dxw,

 

So you want to display a deleted entity ? I really do not understand what you are trying to do that and why? For further assistance please create an incident in the Support Center and with standalone examples and we will be glad to review.

 

Regards,

Yogesh

dxw
Contributor
dxw
Posts: 11

Re: The problem of faces being invisible when set visible

Thank you.