FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

accessing parameters to add to diagrams

Home page Community General accessing parameters to add to diagrams

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33904
    Dermot Cradden
    Participant

    I am trying to add parameters of datasets and folders into diagrams and documents.

    I cannot find any reference to them in any dropdown boxes for “fields” to enter them into text boxes of diagrams to use as headers.

    I would like to identify information such as serial and part numbers in diagrams and have them update automatically as the activated folder changes and the diagram curves are updated.

    #33908
    Dermot Cradden
    Participant

    I am trying to add parameters of datasets and folders into diagrams and documents.

    I cannot find any reference to them in any dropdown boxes for “fields” to enter them into text boxes of diagrams to use as headers.

    I would like to identify information such as serial and part numbers in diagrams and have them update automatically as the activated folder changes and the diagram curves are updated.

    #33905
    Bernhard Kantz
    Participant

    Use the [b]Parameters[/b] command to access a parameter.

    Example: The dataset ‘Dataset’ includes the Parameter ‘P’
    [code]
    %{Dataset.Parameters(“P”)}
    [/code]
    Alternatively you can create a FPScript function the get the Parameter value:
    [code]
    Dataset.Parameters(“P”)
    [/code]

    support@weisang.com

    #33906
    Dermot Cradden
    Participant

    Thanks, it looks like i can get that to work for datasets in folders, but if the parameters are associated with the folder it fails.

    I would rather display parameters of the activated folder rather than a specific dataset located in the folder.

    changing the dataset name to a folder name doesn’t work.

    is there a different syntax for folder names?

    #33907
    Bernhard Kantz
    Participant

    Use the following command to access a parameter of the parent folder:
    [code]
    %{ThisFPObject.ParentFolder.Parameters(“P”)}
    [/code]
    Alternatively you can use the object name to access an object. If the object to be found is not a formula, not a data set and not an analysis or data link object, you have to attach the extension corresponding to the object type to the object name.
    Example:
    [code]
    Folder.FLD.Parameters(“P”)
    [/code]

    See also
    FlexPro Help|FlexPro Objects

    support@weisang.com

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.