Description:

Modifies the instance definition name and description. Does not change instance definition ID or geometry.

Syntax:
public bool Modify(
InstanceDefinition idef,
string newName,
string newDescription,
bool quiet
)
Parameters:
  • newName
  • Type: string
  • The new name.
  • newDescription
  • Type: string
  • The new description string.
  • quiet
  • Type: bool
  • If false, information message boxes pop up when illegal changes are attempted.
Returns:
Type: bool
True if successful.
Available since:
5.0

Description:

Modifies the instance definition name, description, and url. Does not change instance definition ID or geometry.

Syntax:
public bool Modify(
InstanceDefinition idef,
string newName,
string newDescription,
string newUrl,
string newUrlTag,
bool quiet
)
Parameters:
  • newName
  • Type: string
  • The new name.
  • newDescription
  • Type: string
  • The new description string.
  • newUrl
  • Type: string
  • The new URL or hyperlink.
  • newUrlTag
  • Type: string
  • The new description of the URL or hyperlink.
  • quiet
  • Type: bool
  • If false, information message boxes pop up when illegal changes are attempted.
Returns:
Type: bool
True if successful.
Available since:
7.16

Description:

Modifies the instance definition name and description. Does not change instance definition ID or geometry.

Syntax:
public bool Modify(
int idefIndex,
string newName,
string newDescription,
bool quiet
)
Parameters:
  • idefIndex
  • Type: int
  • The index of the instance definition to be modified.
  • newName
  • Type: string
  • The new name.
  • newDescription
  • Type: string
  • The new description string.
  • quiet
  • Type: bool
  • If false, information message boxes pop up when illegal changes are attempted.
Returns:
Type: bool
True if successful.
Available since:
5.0

Description:

Modifies the instance definition name, description, and url. Does not change instance definition ID or geometry.

Syntax:
public bool Modify(
int idefIndex,
string newName,
string newDescription,
string newUrl,
string newUrlTag,
bool quiet
)
Parameters:
  • idefIndex
  • Type: int
  • The index of the instance definition to be modified.
  • newName
  • Type: string
  • The new name.
  • newDescription
  • Type: string
  • The new description string.
  • newUrl
  • Type: string
  • The new URL or hyperlink.
  • newUrlTag
  • Type: string
  • The new description of the URL or hyperlink.
  • quiet
  • Type: bool
  • If false, information message boxes pop up when illegal changes are attempted.
Returns:
Type: bool
True if successful.
Available since:
7.16

Description:

Modifies the instance definition user data. Does not change instance definition ID or geometry.

Syntax:
public bool Modify(
int idefIndex,
UserData userData,
bool quiet
)
Parameters:
  • idefIndex
  • Type: int
  • The index of the instance definition to be modified.
  • userData
  • Type: UserData
  • The user data to replace.
  • quiet
  • Type: bool
  • If false, information message boxes pop up when illegal changes are attempted.
Returns:
Type: bool
True if successful.

Nothing found