Error getting tags :
error 404Error getting tags :
error 404 revSetCardProfile | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revSetCardProfile
Basics
Expander triangle
Type
Command
Syntax

revSetCardProfile profileName[,stackName]

Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Changes the current profile used for a card and all its objects.
Examples

revSetCardProfile "MetallicLook"
revSetCardProfile "Master",the mainStack of this stack

Additional Comments
Expander triangle

Use the revSetCardProfile command to change property settings on a card to a different set of stored settings.

Parameters:

The profileName specifies which profile to use.

The stackName is the short name of an open stack. If you don't specify a stack, the current card of the topStack is changed.

Note: Although the revSetCardProfilecommand changes a card, you specify a stack name, not a card name.

Comments:

A profile is a set of property settings for an object. You create a profile for an object, and give it a name, using the Property Profiles pane in the object's property inspector. When you change that object to use a profile, the properties you specified in the profile are changed to the settings you specified. This helps you quickly switch the appearance and behavior of the object without needing to set its properties individually.

The revSetCardProfile command changes the profile of the current card of the specified stack and all the objects on that card. If an object does not have a profile with the specified profileName, the object's properties are not changed.

Important! The revSetCardProfilecommand is part of the Profile library. To ensure that the command works in a standalone application, in the Profiles section on the General screen of the Standalone Application Settings window, make sure you choose to include profiles in your application.

User Comments
Expander triangle