public void SetBridgeUpdateData(string name, eBridgeLinkAction action, eBridgeLinkModelType modelType, double maxLengthDeck, double maxLengthCapBeam, double maxLengthColumn, double subMeshSize) { }
public void GetBridgeUpdateData(string name, ref bool linkedModelExists, ref eBridgeLinkModelType modelType, ref double maxLengthDeck, ref double maxLengthCapBeam, ref double maxLengthColumn, ref double subMeshSize) { }
/// <summary> /// This function updates a linked bridge model, clears all objects from a linked bridge model, or converts a linked bridge model to an unlinked model. /// </summary> /// <param name="name">The name of an existing bridge object.</param> /// <param name="action">The action to be taken to the linked bridge object.</param> /// <param name="modelType">Indicates the linked bridge model type. <para/> /// This only applies when <paramref name="action"/> is set to update.</param> /// <param name="maxLengthDeck">The maximum length for the deck objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="action"/> is set to update.</param> /// <param name="maxLengthCapBeam">The maximum length for the cap beam objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="action"/> is set to update.</param> /// <param name="maxLengthColumn">The maximum length for the column objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="action"/> is set to update.</param> /// <param name="subMeshSize">The maximum submesh size for area and solid objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="action"/> is set to update and <paramref name="modelType"/> is an area or solid model.</param> public void SetBridgeUpdateData(string name, eBridgeLinkAction action, eBridgeLinkModelType modelType, double maxLengthDeck, double maxLengthCapBeam, double maxLengthColumn, double subMeshSize) { _callCode = _sapModel.BridgeObj.SetBridgeUpdateData(name, (int)action, (int)modelType, maxLengthDeck, maxLengthCapBeam, maxLengthColumn, subMeshSize); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } }
// === Get/Set === /// <summary> /// Returns a flag indicating if the specified bridge object is currently linked to existing objects in the model. <para/> /// If the bridge object is linked, it returns the model type (spine, area or solid) and meshing data used when the linked bridge model was updated. /// </summary> /// <param name="name">The name of an existing bridge object.</param> /// <param name="linkedModelExists">True: a linked bridge model exists for the specified bridge object.</param> /// <param name="modelType">Indicates the linked bridge model type. <para/> /// This only applies when <paramref name="linkedModelExists"/> is true.</param> /// <param name="maxLengthDeck">The maximum length for the deck objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="linkedModelExists"/> is true.</param> /// <param name="maxLengthCapBeam">The maximum length for the cap beam objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="linkedModelExists"/> is true.</param> /// <param name="maxLengthColumn">The maximum length for the column objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="linkedModelExists"/> is true.</param> /// <param name="subMeshSize">The maximum submesh size for area and solid objects in the linked bridge model. [L]<para/> /// This only applies when <paramref name="linkedModelExists"/> is true and <paramref name="modelType"/> is an area or solid model.</param> public void GetBridgeUpdateData(string name, ref bool linkedModelExists, ref eBridgeLinkModelType modelType, ref double maxLengthDeck, ref double maxLengthCapBeam, ref double maxLengthColumn, ref double subMeshSize) { int csiModelType = 0; _callCode = _sapModel.BridgeObj.GetBridgeUpdateData(name, ref linkedModelExists, ref csiModelType, ref maxLengthDeck, ref maxLengthCapBeam, ref maxLengthColumn, ref subMeshSize); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } modelType = (eBridgeLinkModelType)csiModelType; }