 | CMAPRepairBrokenVoxelLinks Method |
Replaces/repairs references to a Geosoft Voxel inside a map.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void RepairBrokenVoxelLinks(
string voxel,
ref int repaired
)
public void RepairBrokenVoxelLinks(
string voxel,
ref int repaired
)
Public Sub RepairBrokenVoxelLinks (
voxel As String,
ByRef repaired As Integer
)
Public Sub RepairBrokenVoxelLinks (
voxel As String,
ByRef repaired As Integer
)
public:
void RepairBrokenVoxelLinks(
String^ voxel,
int% repaired
)
public:
void RepairBrokenVoxelLinks(
String^ voxel,
int% repaired
)
member RepairBrokenVoxelLinks :
voxel : string *
repaired : int byref -> unit
member RepairBrokenVoxelLinks :
voxel : string *
repaired : int byref -> unit
Parameters
- voxel
- Type: SystemString
new voxel file name path (must resolve to an existing file) - repaired
- Type: SystemInt32
if the link is repaired, returns 1, else returns 0
Remarks
The replacement/repair occurs only if the original reference, bearing the same
file name, does not resolve to an existing voxel. (Working links
will not be affected).
The replacement path must resolve to an existing voxel, and if possible will be
stored as a relative path to the map.
See Also