XANSYS Message: 79641 [Go back to message list]
No rating yet
Rate item:

Subject: Re: *MOPER sort trouble...
Author: Matt Sutton
Date: 2005-11-11 14:58:44

Jim,
I seem to remember having to:
Copy out
Sort
Copy back
Using a 2D temp array and iterating over the planes.
Matt Sutton
www.padtinc.com

> -----Original Message-----
> From: xansys-bounces_at_xansys.org
> [mailto:xansys-bounces_at_xansys.org] On Behalf Of
> JPatterson_at_hendrickson-intl.com
> Sent: Friday, November 11, 2005 7:39 AM
> To: xansys_at_xansys.org
> Subject: [Xansys] *MOPER sort trouble...
>
> Hello All,
>
> I'm playing with the *MOPER command and it's sorting
> capability. I'm RTFMing, but can't seem to get it to do what
> I want. Here's the situation...
>
> 1. I have a 3D table (mymatrix) in ANSYS, with data from
> different regions of the model on each plane.
> 2. I'd like to sort the data on each individual plane, by a
> certain column
> (12th) on that plane.
> 3. I'm trying different variations of this code...
>
> oldorder=
> *dim,oldorder,,Num_Rows
> *moper,oldorder(1),mymatrix(1,1,1),sort,mymatrix(1,12,1)
>
> This seems to "sort" everything on _every_ plane. I've also
> tried not referencing the plane in the *MOPER command, i.e.
> "mymatrix(1,12)", but it seems to give an identical result.
> I am able to get the example from the online docs to work,
> but it's a 2D array. Is the 3D array the problem?
> What am I missing?
>
> Thanks,
>
> Jim P.
>
> **************************************************************
> **********
> James J. Patterson
> Manager of Engineering Technical Support Hendrickson Trailer
> Suspension Systems 2070 Industrial Place SE Canton, OH 44707
> email: jpatterson_at_hendrickson-intl.com
> Tele: 330-489-0095
> Fax: 330-489-0634
> **************************************************************
> **********
> ^-------------------------------------------------------------
> ---------
> | XANSYS - www.xansys.org
> |
> | List hosted by PADT: www.padtinc.com |
> ^-------------------------------------------------------------
> ---------
>

Posts possibly associated with message #79641AuthorDateScore
79640*MOPER sort trouble...Jim Patterson2005/11/11 
79641Re: *MOPER sort trouble...Matt Sutton2005/11/11