Method Introduced:
The Creo application decides where the section will be positioned in 3D for all the features except the first feature and sketched
hole feature.
If the section is 3D, the feature tree elements below PRO_E_STD_SEC_SETUP_PLANE specifies the sketch plane, the direction from which it is being viewed, an orientation reference, and a direction which
that reference represents (TOP, BOTTOM, LEFT or RIGHT). When you call wfcWSolid::WCreateFeature, this information is used to calculate the 3D plane in which the section lies, and its orientation in that plane.
The position of the section origin in the plane is not implied by the element tree, and cannot be specified by the Creo Object
TOOLKIT C++ application: position is chosen arbitrarily by Creo application. This is because the interactive user of Creo application never deals in absolute coordinates, and does not need to specify, or even know, the location of the origin of
the section. In Creo Object
TOOLKIT C++ describe all section entities in terms of their coordinate values, so you need to find out where Creo application has put the origin of the section. This is the role of the method wfcSection::GetLocation.
wfcSection::GetLocation provides the transformation matrix that goes from 2D coordinates within the section to 3D coordinates of the owning part
or assembly. This is equivalent to describing the position and orientation of the 2D section coordinate system with respect
to the base coordinate system of the 3D model.
wfcSection::GetLocation can be called in order to calculate where to position new section entities so that they are in the correct 3D position in
the part or assembly.