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
- References:
- General::obspkg and "Compatibility Guide"???
- From: beckman <bc.beckman@gmail.com>
- General::obspkg and "Compatibility Guide"???