v2.22
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. More...
 
HRESULT GetRebarStyleIds ([out, retval] SAFEARRAY(int) *pRebarStyleIds)
 Gets the identifiers of all rebar styles in the manager. More...
 
HRESULT RebarStyleExists ([in] int rebarStyleId, [out, retval] VARIANT_BOOL *pExists)
 Indicates if there is a rebar style with the given ID. More...
 
HRESULT GetUnitStyle ([in] int reinforcementUnitStyleId, [out, retval] IReinforcementUnitStyle **ppReinforcementUnitStyle)
 Gets the reinforcement unit style by its ReinfrocementUnitStyleId. More...
 
HRESULT UnitStyleExists ([in] int reinforcementUnitStyleId, [out, retval] VARIANT_BOOL *pExists)
 Indicates if there is a reinforcement unit style with the given ID. More...
 
HRESULT GetReinforcementUnitStyleIds ([out, retval] SAFEARRAY(int) *pUnitStyleIds)
 Gets the identifiers of all reinforcement unit styles in the manager. More...
 

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 IReinforcementUnitStyleManager::GetRebarStyle ( [in] int  rebarStyleId,
[out, retval] IRebarStyle **  ppRebarStyle 
)

Gets the rebar style by its RebarStyleId.

Returns
The requested rebar style.

◆ GetRebarStyleIds()

HRESULT IReinforcementUnitStyleManager::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 IReinforcementUnitStyleManager::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 IReinforcementUnitStyleManager::GetUnitStyle ( [in] int  reinforcementUnitStyleId,
[out, retval] IReinforcementUnitStyle **  ppReinforcementUnitStyle 
)

Gets the reinforcement unit style by its ReinfrocementUnitStyleId.

Returns
The requested reinforcement unit style.

◆ RebarStyleExists()

HRESULT IReinforcementUnitStyleManager::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 IReinforcementUnitStyleManager::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.