View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009172ParaViewFeaturepublic2009-06-17 04:542012-02-08 17:27
ReporterPaul Edwards 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionno change required 
PlatformOSOS Version
Product VersionDevelopment 
Target VersionNeedsVerificationFixed in Version3.12 
Summary0009172: Name pipeline object with a python script
DescriptionI would like to change the name of an object in the pipeline with a python script? Currently if I go to the Python shell and type:

    s = Sphere()

It will create a new object called "Sphere1". I would like to be able to rename this (or create it with a different name).



Additional InformationI've been looking into this more and noticed how Sphere is mapped to the CreateObject function. So I can do what I want with:

s = servermanager.source.Sphere()
servermanager.Register(s, registrationName="aDifferentName")

Still, it would still be nice to add this as an option to the CreateObject function.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0027419)
Utkarsh Ayachit (administrator)
2011-08-24 09:20

This is supported. Try using the following:

>>> Sphere(registrationName="MySphere")
(0028218)
Utkarsh Ayachit (administrator)
2012-02-08 17:27

Closing bugs sitting in "customer review" for a long time.

 Issue History
Date Modified Username Field Change
2009-06-17 04:54 Paul Edwards New Issue
2009-06-23 12:40 Berk Geveci Status backlog => tabled
2009-06-23 12:40 Berk Geveci Assigned To => Berk Geveci
2011-01-28 13:56 Utkarsh Ayachit Assigned To Berk Geveci => Utkarsh Ayachit
2011-01-28 13:56 Utkarsh Ayachit Target Version => NeedsVerification
2011-06-16 13:10 Zack Galbreath Category Feature Request => Feature
2011-08-24 09:20 Utkarsh Ayachit Note Added: 0027419
2011-08-24 09:20 Utkarsh Ayachit Status backlog => gatekeeper review
2011-08-24 09:20 Utkarsh Ayachit Fixed in Version => 3.12
2011-08-24 09:20 Utkarsh Ayachit Resolution open => no change required
2011-08-24 09:21 Utkarsh Ayachit Status gatekeeper review => customer review
2012-02-08 17:27 Utkarsh Ayachit Status customer review => closed
2012-02-08 17:27 Utkarsh Ayachit Note Added: 0028218


Copyright © 2000 - 2018 MantisBT Team