Skip to main content
14-Alexandrite
June 19, 2023
Solved

ProFeatureStatus - feature status not working well with Rep Simp

  • June 19, 2023
  • 1 reply
  • 1554 views

Hi,

 

When I change the simplified representation, and run an assembly visitor based on ProFeatureTypeGet and ProAsmcompVisibilityGet, I get the right structure (all excluded are not taken). But when it finished, all the inactive feature status refreshes to active. So on the next run,  I get the master simplified representation. I don't know why. Can someone explain me, the reason and how to avoid it?

 

InactiveInactiveNo Rep SimpNo Rep Simp

Thank you!

 

 

 

 

 

 

 

 

Best answer by RPN

extern ProError ProSimprepActivate (ProSolid p_solid,
ProSimprep *p_simp_rep);

Purpose: Activates the specified simplified representation.


NOTE:

Operates on assemblies only, not parts.
Call ProSolidDisplay() to display simplified rep correctly.


You called ProSolidDisplay()?

 

1 reply

RPN18-OpalAnswer
18-Opal
June 20, 2023

extern ProError ProSimprepActivate (ProSolid p_solid,
ProSimprep *p_simp_rep);

Purpose: Activates the specified simplified representation.


NOTE:

Operates on assemblies only, not parts.
Call ProSolidDisplay() to display simplified rep correctly.


You called ProSolidDisplay()?

 

14-Alexandrite
June 20, 2023

No, I didn't call it.

Thank you! ðŸ˜Š Adding it, solved the problem.