Run automated scripts that handle repetitive "activities" or "tasks" within the Part Design or Assembly workbenches.

: Used to browse and insert a part file that has already been created.

/* EKL Reaction Script: Nipactivity Surface Adaptation */ let TargetSurface(MechanicalFeature) let ControlPoint(Point) let CompressionOffset(Length) TargetSurface = Inputs.GetItem("Dynamic_Skin_Surface") ControlPoint = Inputs.GetItem("Center_Contact_Point") CompressionOffset = Inputs.GetItem("Nip_Compression_Value") if TargetSurface <> NULL and ControlPoint <> NULL /* Evaluate surface constraints and displace the vertex array along the normal vector */ let SurfaceNormal(Vector) SurfaceNormal = direction(TargetSurface, ControlPoint) /* Modify geometric parameter definitions programmatically */ ControlPoint.CoordX = ControlPoint.CoordX + (SurfaceNormal.X * CompressionOffset) ControlPoint.CoordY = ControlPoint.CoordY + (SurfaceNormal.Y * CompressionOffset) ControlPoint.CoordZ = ControlPoint.CoordZ + (SurfaceNormal.Z * CompressionOffset) Use code with caution. 5. Industrial Applications of Localized Contact Automation