2027 Method
Changes 0
M

RebarContainerItem.SetBarHiddenStatus

Description:
Sets the bar in this rebar set to be hidden or unhidden in the given view.
Remarks:
Individual bars of a rebar set can be hidden in a view only if the presentation mode is RebarPresentationMode.Select. If that is not the presentation mode assigned for this set in the view, this method will also change it.
public void SetBarHiddenStatus(
	View view,
	int barIndex,
	bool hide
)
  • view
    The view.
  • Int32
    barIndex
    The index of the bar from this set.
  • Boolean
    hide
    True to hide this bar in the view, false to unhide the bar.
  • This rebar cannot have a presentation mode applied for view, as the view is not valid for rebar presentation, or the orientation of the view matches the normal direction of the rebar.
  • A non-optional argument was null
  • barIndex is not in the range [ 0, NumberOfBarPositions-1 ].