move entry in feature map [message #755218] |
Mon, 07 November 2011 17:41 |
Christian B Messages: 68 Registered: August 2011 |
Member |
|
|
Hi,
I tried it for hours now and i am out of ideas, so i have to ask here
What i want to do is easy, i just want to move an entry in a feature map to another position within the same feature map.
As example, say i have a featuremap with 2 features: standard_order and preferred_order and my map looks like:
- standard_order
- preferred_order
And now i want to change the feature map, that it looks like:
- preferred_order
- standard_order
So looks like a very easy task (and i hope it is and i am just stupid!)
I tried everything withe the FeatureMap.move methods, but nothing worked...
I always get a IndexOutOfBoundsException and it looks like the move methods can only move e.g. a standard_order to another position within the standard_orders and same for preferred_orders
i hope you have some ideas!
thx in advance
[Updated on: Mon, 07 November 2011 17:43] Report message to a moderator
|
|
|
|
|
Re: move entry in feature map [message #755346 is a reply to message #755331] |
Tue, 08 November 2011 08:34 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
I'd really have to see an example where it doesn't work, or at least the
code you called and a stack trace.
On 08/11/2011 9:08 AM, buschcobolt wrote:
> hmm, i corrected this mistake in the first version of my post
> immediatly after posting it
>
> I solved the issue by removing the standard_order and adding it again,
> but still have the feeling that featuremap.move doesn't work as aspected
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03273 seconds