I created a coordinate using the below code for a specific edge. Using dpf I was able to obtain stresses at nodes. How to rotate these stress tensors. Should it be done manually or is there any other way?
testCS = ExtAPI.DataModel.Project.Model.CoordinateSystems.AddCoordinateSystem() testCS.CoordinateSystemType = CoordinateSystemTypeEnum.Cartesian testCS.OriginX = Quantity(20,"mm") testCS.OriginY = Quantity(20,"mm") testCS.OriginZ = Quantity(20,"mm") testCS.PrimaryAxisDefineBy = CoordinateSystemAlignmentType.GlobalX testCS.AddTransformation(TransformationType.Rotation,CoordinateSystemAxisType.PositiveZAxis) testCS.SetTransformationValue(1,-45)