横断は、横断抽出ラインに沿って抽出された 1 つまたは複数のサーフェス断面です。AeccSampleLineGroup.CreateSectionsAtSampleLine メソッドを使用すると一度に 1 つの横断を作成でき、AeccSampleLineGroup.CreateSectionsAtSampleLines メソッドを使用すると一度にすべての横断を作成できます。 横断抽出ライン グループがどのサーフェスも参照していないか、または指定された横断抽出ラインの下にサーフェスが存在しない場合、これらのメソッドはエラーを発生します。
' Create a section at the first sample line in the sample ' line group. ' oSampleLineGroup is of type AeccSampleLineGroup Dim oSampleLine as AeccSampleLine Set oSampleLine = oSampleLineGroup.SampleLines(0) oSampleLineGroup.CreateSectionsAtSampleLine oSampleLine ' Create a section for each sample line in the sample ' line group. oSampleLineGroup.CreateSectionsAtSampleLines