v2.32
 
IReinforcementUnitStyleManager Interface Reference

Allows the user to obtain detailed information about rebar styles and reinforcement unit styles. This interface can be obtained from IProject. More...

Inheritance diagram for IReinforcementUnitStyleManager:

Public Member Functions

HRESULT GetRebarStyle ([in] int rebarStyleId, [out, retval] IRebarStyle **ppRebarStyle)
 Gets the rebar style by its RebarStyleId.
 
HRESULT GetRebarStyleIds ([out, retval] SAFEARRAY(int) *pRebarStyleIds)
 Gets the identifiers of all rebar styles in the manager.
 
HRESULT GetReinforcementUnitStyleIds ([out, retval] SAFEARRAY(int) *pUnitStyleIds)
 Gets the identifiers of all reinforcement unit styles in the manager.
 
HRESULT GetUnitStyle ([in] int reinforcementUnitStyleId, [out, retval] IReinforcementUnitStyle **ppReinforcementUnitStyle)
 Gets the reinforcement unit style by its ReinfrocementUnitStyleId.
 
HRESULT RebarStyleExists ([in] int rebarStyleId, [out, retval] VARIANT_BOOL *pExists)
 Indicates if there is a rebar style with the given ID.
 
HRESULT UnitStyleExists ([in] int reinforcementUnitStyleId, [out, retval] VARIANT_BOOL *pExists)
 Indicates if there is a reinforcement unit style with the given ID.
 

Detailed Description

Allows the user to obtain detailed information about rebar styles and reinforcement unit styles. This interface can be obtained from IProject.

See also
IRebarStyle, IReinforcementUnitStyle

Member Function Documentation

◆ GetRebarStyle()

HRESULT GetRebarStyle ( [in] int rebarStyleId,
[out, retval] IRebarStyle ** ppRebarStyle )

Gets the rebar style by its RebarStyleId.

Returns
The requested rebar style.

◆ GetRebarStyleIds()

HRESULT GetRebarStyleIds ( [out, retval] SAFEARRAY(int) * pRebarStyleIds)

Gets the identifiers of all rebar styles in the manager.

Returns
An array containing the identifiers of rebar styles

◆ GetReinforcementUnitStyleIds()

HRESULT GetReinforcementUnitStyleIds ( [out, retval] SAFEARRAY(int) * pUnitStyleIds)

Gets the identifiers of all reinforcement unit styles in the manager.

Returns
An array containing the identifiers of reinforcement unit styles

◆ GetUnitStyle()

HRESULT GetUnitStyle ( [in] int reinforcementUnitStyleId,
[out, retval] IReinforcementUnitStyle ** ppReinforcementUnitStyle )

Gets the reinforcement unit style by its ReinfrocementUnitStyleId.

Returns
The requested reinforcement unit style.

◆ RebarStyleExists()

HRESULT RebarStyleExists ( [in] int rebarStyleId,
[out, retval] VARIANT_BOOL * pExists )

Indicates if there is a rebar style with the given ID.

Parameters
[in]rebarStyleIdThe identifier of the rebar style.
[out]pExistsTRUE if the style with such ID exists, FALSE otherwise.

◆ UnitStyleExists()

HRESULT UnitStyleExists ( [in] int reinforcementUnitStyleId,
[out, retval] VARIANT_BOOL * pExists )

Indicates if there is a reinforcement unit style with the given ID.

Parameters
[in]reinforcementUnitStyleIdThe identifier of the reinforcement unit style.
[out]pExistsTRUE if the style with such ID exists, FALSE otherwise.