MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: General::obspkg and "Compatibility Guide"???

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75635] Re: [mg75614] General::obspkg and "Compatibility Guide"???
  • From: Carl Woll <carlw at wolfram.com>
  • Date: Mon, 7 May 2007 05:34:43 -0400 (EDT)
  • References: <200705060558.BAA03956@smc.vnet.net>

beckman wrote:

>Hello -- I'm trying to get my old notebooks to work in Mathematica 6. I use
>"TranslateShape," for instance, just about everywhere.
>"TranslateShape" used to be defined in Graphics`Shape`. But that's now
>obsolete, and I get the following error message
>
><<Graphics`Shapes`
>
>General::obspkg: Graphics`Shapes` is now obsolete. The legacy version
>\
>being loaded may conflict with current Mathematica functionality. See
>\
>the Compatibility Guide for updating information.
>
>If I highlight "TranslateShape" and press F1, I get a search
>failure ... (Transforming XML (XML Package Tutorial)
>
>If I highlight General::obspkg and press F1, I get a search
>failure ... (did not match any documents)
>
>If I search for "Compatibility Guide" I get nothing
>
>I'm completely hosed. The old stuff I needed for everything is just
>*poof* gone without a trace.
>
>Clues, anyone?
>
>  
>
I think the version 6 replacement for TranslateShape is to use 
Translate. So, a replacement for TranslateShape could be:

NewTranslateShape[ Graphics3D[gr_, opts___], vec_ ] := Graphics3D[ 
Translate[gr, vec], opts]

Carl Woll
Wolfram Research


  • Prev by Date: Re: [Mathematica 6] Format->Magnification does not work on notebook
  • Next by Date: Re: Re: [Mathematica 6] What happened to the 5.2 HELP interface? Can one get it back?
  • Previous by thread: General::obspkg and "Compatibility Guide"???
  • Next by thread: Re: General::obspkg and "Compatibility Guide"???