RebarBarType.SetHookPermission
Method
Description:
Identifies if a hook type is permitted for this bar type
Identifies if a hook type is permitted for this bar type
Parameters
Parameter | Type | Description |
---|---|---|
hookId | ElementId | id of the hook type |
permission | Boolean | True if the hook type should be permitted for this bar type, otherwise false |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | the rebar hook type id hookId is not valid |
ArgumentNullException | A non-optional argument was null |