The active Scene_Root is the default and only location for new objects
created in this manner (and most other manners.)

Also, separating with periods to define the hierarchy is not an actual
convention. That said, it's trivial to use the .AddChild() method of any
object to put one or more objects under it as children, after they are made.



On Wed, Dec 11, 2013 at 11:27 AM, Ponthieux, Joseph G. (LARC-E1A)[LITES] <
[email protected]> wrote:

>  Howdy folks,
>
>
>
> I’m trying to repair an old jscript.
>
>
>
> The primary command being used is
>
>
>
> ExtractFromComponents("ExtractPolygonsOp", "", detachName, true,
> siImmediateOperation, siKeepGenOpInputs, null)
>
>  I’m attempting to use a custom name for the resulting object in
> “detachName” which looks like this
>
>
>
> Model.transfogroup.polymsh_separate
>
>
>
> The intent is to have the new object, as a result of the extraction,
> created under
>
>
>
> Scene_Root
>
>                 Model
>
>                                 transfogroup
>
>                                                 polymsh_separate
>
>
>
> Only problem is it creates the extraction under root instead of Model as
>
>
>
> Scene_Root
>
> Model_transfogroup_polymsh_separate
>
>
>
> I suppose I could move the new object from Root to  Model.transfogroup
> after the fact but I’m curious if anyone knows if it’s possible to direct
> object creation in this manner and how it would be done. Or is root the
> default, and only, location for new objects created this way?
>
>
>
>
>
> --
>
> Joey Ponthieux
>
> LaRC Information Technology Enhanced Services (LITES)
>
> Mymic Technical Services
>
> NASA Langley Research Center
>
> __________________________________________________
>
> Opinions stated here-in are strictly those of the author and do not
>
> represent the opinions of NASA or any other party.
>
>
>

Reply via email to