LogicalGlobalCopySetTo
The function lets you copy the entire annotation set into a target 3D shape representation using logical reroute.
The function lets you copy the entire annotation set into a target 3D shape representation using logical reroute. The system uses the tag identifier on faces to reconnect the copied FTA features to the target geometrical elements. During processing, the system compares the tag identifier of faces of the target 3DSR with the tag identifier of faces of the source 3DSR. The FTA feature reroute is done only if these tag identifiers are identical.
Name | Input/Output | Required? | Type | Comment |
---|---|---|---|---|
AnnotationSet
|
In | | CATTPSSet | Input set to be replicated |
TargetPart
|
In | | PartFeature | Target 3D shape representation |
Bodies
|
In | | List |
List of bodies and geometrical sets on which the reroute of the FTA features will apply. If this list is empty, the system uses all the bodies and geometrical sets of the given Part Feature to reroute the copied FTA features. |
ImportOnce
|
In | | Boolean | When set to TRUE the system launches one import
which is applied on all the bodies and geometrical sets of the
previous list. When set to FALSE, the system imports the annotation set several times.: One per selected body per geometrical set (except if the body per geometrical set does not contain the source logical identifier). |
CaptureNameFilter
|
In | | String | String used to filter FTA features. The system keeps only the FTA features that belong to the captures FTA that contain the string. |
AsResultWithLink
|
In | | Boolean | When set to TRUE activates copy of annotations as
result with link behavior. By default, the value is FALSE. |
Signature
LogicalGlobalCopySetTo(AnnotationSet : CATTPSSet, TargetPart : PartFeature, Bodies : List, ImportOnce : Boolean, CaptureNameFilter : String [, AsResultWithLink : Boolean]) : Boolean
ReturnType
Boolean
Example
// Annotation set retrieved and dedicated to provide input schema to logical // reroute Let TPSSet (CATTPSSet) // Arguments preparation. // Retrieve the PartFeature providing the target destination Let PrtPart(PartFeature) ... // Refinement of the geometrical domain in case end user is willing to // specify a much precise area than the PartFeature scope Let ListBodies(List) ... // Processing flag to state if import can occur as many time as possible // or once for the entire scope when "true" value is assigned Let ImportOnce(Boolean) ImportOnce = false ... // String used to filter FTA features. // The system keeps only the FTA features that belong to the captures FTA that contain the string CaptureNameFilter Let CaptureNameFilter(String) ... // Optional argument. When set to TRUE activates copy of annotations as result with link behavior Let AsResultWithLink(Boolean) AsResultWithLink = true ... // Invoke import handling if ( LogicalGlobalCopySetTo( TPSSet, PrtPart, ListBodies, ImportOnce, CaptureNameFilter, AsResultWithLink ) <> true ) { // Error handling ... }