Component Display
Functions Introduced:
This section describes the utility functions that relate to component displays.
The function ProSolidCompdisplayVisit() is like the other visit functions, and visits all the component displays of a parent ProSolid. The function visits only user-defined displays.
As all other visit functions, it takes four arguments—a pointer to the parent ProSolid, a filter function, the visit function itself, and a ProAppData field.
The function ProCompdisplayInit() initializes a ProName structure. The input arguments are as follows:
rep_name—The name of the component display in the solid. If you specify this argument, the function ignores the rep_id.
rep_id—The identifier of the component display, if you did not specify rep_name (if you specified it as NULL).
p_solid—The parent solid that contains the component display.
ProCompdisplayActivate() enables you to set the currently active component display. The input arguments are as follows:
p_solid—A pointer to the parent ProSolid.
p_compdisp—A pointer to the component display ProCompdisp.
no_redisp—Flag to specify whether you need to redisplay assembly in the window inside this call. If you set it to TRUE, you need to call ProWindowRefresh().
The function ProCompdisplayIsDefault() determines if the specified component display is the default display for the owner model.
The function ProCompdisplayActiveGet() enables you to find the currently active component display. Given a model handle, ProCompdisplayActiveGet() returns the handle to the currently active component display.
도움이 되셨나요?