API Tutorials: Difference between revisions
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
Below are simple tutorials to help you get started with using the Synthesis API. The tutorials assume some basic working knowledge in VBA or VB.NET programming, and general familiarity with the Synthesis Platform. | Below are simple tutorials to help you get started with using the Synthesis API. The tutorials assume some basic working knowledge in VBA or VB.NET programming, and general familiarity with the Synthesis Platform. | ||
Before you begin, be sure to review the [[Synthesis_API_Reference|prerequisites]] presented in the API overview page. | |||
Before you begin, | |||
==Using Object IDs== | |||
Each item in a Synthesis repository is identified by a unique record identifier called an ''object ID''. Object IDs can help you trace responses from the API, which are helpful when learning how to use the API to read/write data to a repository. | |||
==Object IDs== | |||
Each item in a Synthesis repository is identified by a unique record identifier called an ''object ID''. Object IDs can help you trace responses from the API, which | |||
To display the object ID in a Synthesis application, choose '''File > Application Setup''', then click '''Other''' under the '''Synthesis Settings''' heading in the navigation panel. Select the check box for '''Display Object IDs'''. The object IDs will be displayed for the following items: | To display the object ID in a Synthesis application, choose '''File > Application Setup''', then click '''Other''' under the '''Synthesis Settings''' heading in the navigation panel. Select the check box for '''Display Object IDs'''. The object IDs will be displayed for the following items: | ||
Line 31: | Line 13: | ||
{|border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder" | {|border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder" | ||
|- style="background:#F2F2F2;" | |- style="background:#F2F2F2;" | ||
!<span style="color:#585858;"> | !<span style="color:#585858;">Item</span> | ||
!<span style="color:#585858;"> | !<span style="color:#585858;">Location of ID in the application</span> | ||
|- | |- | ||
|Project||The ID is displayed in two locations: | |Project||The ID is displayed in two locations: | ||
Line 45: | Line 27: | ||
|- | |- | ||
|FMEA records (e.g., functions, causes, etc.)||To display the object IDs of FMEA functions, causes, effects, controls and actions, right-click any of the column headers in the FMEA analysis and choose '''Customize Columns'''. Select the '''Record ID''' check box. | |FMEA records (e.g., functions, causes, etc.)||To display the object IDs of FMEA functions, causes, effects, controls and actions, right-click any of the column headers in the FMEA analysis and choose '''Customize Columns'''. Select the '''Record ID''' check box. | ||
|- | |||
|BlockSim diagrams and block IDs ||The IDs are displayed on the diagram control panel. | |||
|} | |} | ||
Revision as of 00:27, 7 September 2016
Below are simple tutorials to help you get started with using the Synthesis API. The tutorials assume some basic working knowledge in VBA or VB.NET programming, and general familiarity with the Synthesis Platform.
Before you begin, be sure to review the prerequisites presented in the API overview page.
Using Object IDs
Each item in a Synthesis repository is identified by a unique record identifier called an object ID. Object IDs can help you trace responses from the API, which are helpful when learning how to use the API to read/write data to a repository.
To display the object ID in a Synthesis application, choose File > Application Setup, then click Other under the Synthesis Settings heading in the navigation panel. Select the check box for Display Object IDs. The object IDs will be displayed for the following items:
Item | Location of ID in the application |
---|---|
Project | The ID is displayed in two locations:
|
Resource (e.g., models,URDs, etc.) | The Resource Manager (Project > Synthesis > Resource Manager) displays a column containing the object IDs of the resources. |
Xfmea, RCM++ or RBI system hierarchy item | To display the object ID (also called record ID) of a system hierarchy item, right-click any of the column headers in the System Hierarchy panel and choose Customize Columns. Select the Record ID check box. |
FMEA records (e.g., functions, causes, etc.) | To display the object IDs of FMEA functions, causes, effects, controls and actions, right-click any of the column headers in the FMEA analysis and choose Customize Columns. Select the Record ID check box. |
BlockSim diagrams and block IDs | The IDs are displayed on the diagram control panel. |
Tutorials
Basics
If you're new to the Synthesis API, we recommend starting with the basic tutorials in the order given below.
Applications
More tutorials coming soon...