User:Kate Racaza/APIdraftspage: Difference between revisions
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
'''Reference Docs''' | '''Reference Docs''' | ||
Classes | |||
*[[Talk:CPool_Class/Notes]] | *[[Talk:CPool_Class/Notes]] | ||
*[[Talk:Repository_Class/Notes]] | |||
*[[Talk:XfmeaItem_Class/Notes]] | |||
*[[Talk:CXfmeaControl_Class/Notes]] | |||
*[[Talk:CAction_Class/Notes]] | |||
*[[Talk:CScheduledTask_Class/Notes]] | |||
*[[Talk:Common_Class/Notes]] | |||
Methods | |||
*[[Talk:Repository.Model.GetAllModels/Notes]] | *[[Talk:Repository.Model.GetAllModels/Notes]] | ||
*[[Talk:Repository.Model.GetAllModelsInfo/Notes]] | *[[Talk:Repository.Model.GetAllModelsInfo/Notes]] | ||
Line 19: | Line 31: | ||
*[[Talk:Repository.URD.GetAllURDs/Notes]] | *[[Talk:Repository.URD.GetAllURDs/Notes]] | ||
*[[Talk:Repository.Variable.GetAllVariables/Notes]] | *[[Talk:Repository.Variable.GetAllVariables/Notes]] | ||
Line 33: | Line 40: | ||
*<strike>ResourceFilterEnum_Enumeration - part of SYN-I-4788</strike> | *<strike>ResourceFilterEnum_Enumeration - part of SYN-I-4788</strike> | ||
*<strike>RestockOnEnum_Enumeration - part of SYN-I-4849 </strike> | *<strike>RestockOnEnum_Enumeration - part of SYN-I-4849 </strike> | ||
*<strike>TaskMaintenanceTriggerEnum - SYN-I-4920</strike> | |||
Line 56: | Line 64: | ||
*SYN-I-4864 (not code breaking) | *SYN-I-4864 (not code breaking) | ||
:*[[Common_Class]] | :*<strike>[[Common_Class]]</strike> | ||
'''Edits to Existing Properties''' | '''Edits to Existing Properties''' | ||
*SYN-I-4849 (not code breaking) | *SYN-I-4849 (not code breaking) | ||
:*[[CPool Class]] Restock On property | :*<strike>[[CPool Class]] Restock On property</strike> | ||
'''Deprecations''' | '''Deprecations''' | ||
*[[XfmeaItem_Class]] - removed Nr property because it is a duplicate of the PartNr property. | *<strike>[[XfmeaItem_Class]] - removed Nr property because it is a duplicate of the PartNr property.</strike> | ||
*[[CXfmeaControl_Class]] and [[cAction_Class]] - removed Synthesis identifier fields (because not applicable). | *<strike>[[CXfmeaControl_Class]] and [[cAction_Class]] - removed Synthesis identifier fields (because not applicable).</strike> | ||
* [[CScheduledTask_Class]] - removed OnCondPerformTaskEvenIfItBringsSysDown property because not in use (obsolete). | *<strike>[[CScheduledTask_Class]] - removed OnCondPerformTaskEvenIfItBringsSysDown property because not in use (obsolete).</strike> | ||
</div> | </div> | ||
Line 89: | Line 97: | ||
=SYN-I-4864= | =SYN-I-4864= | ||
Remove the "VB.NET Only" parenthetical in the definition. | <strike>Remove the "VB.NET Only" parenthetical in the definition. | ||
Then add the following example. Add note that in VBA, you'll need to instantiate the class. | Then add the following example. Add note that in VBA, you'll need to instantiate the class. | ||
Line 104: | Line 112: | ||
MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}}) | MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}}) | ||
m = MyRepository.Model.GetModel(47) | m = MyRepository.Model.GetModel(47)</strike> | ||
Line 128: | Line 136: | ||
|UT4||Gets or sets the text in the fourth user-defined text field. '''String'''. | |UT4||Gets or sets the text in the fourth user-defined text field. '''String'''. | ||
|- | |- | ||
|UT5||Gets or sets the text in the fifth user-defined text field. '''String'''.</strike> | |UT5||Gets or sets the text in the fifth user-defined text field. '''String'''. | ||
|}</strike> |
Revision as of 18:45, 13 January 2016
Leader Pages
- Talk:API_Changelog/Notes
- Talk:New_Classes_and_Enumerations/Notes
- Talk:New_Members_and_Constants/Notes
- Talk:Deprecated_and_Removed_Members/Notes
- Talk:Full_Synthesis_API/Notes
Reference Docs
Classes
- Talk:CPool_Class/Notes
- Talk:Repository_Class/Notes
- Talk:XfmeaItem_Class/Notes
- Talk:CXfmeaControl_Class/Notes
- Talk:CAction_Class/Notes
- Talk:CScheduledTask_Class/Notes
- Talk:Common_Class/Notes
Methods
- Talk:Repository.Model.GetAllModels/Notes
- Talk:Repository.Model.GetAllModelsInfo/Notes
- Talk:Repository.Crew.GetAllCrews/Notes
- Talk:Repository.Pool.GetAllPools/Notes
- Talk:Repository.Task.GetAllScheduledTasks/Notes
- Talk:Repository.Task.GetAllCorrectiveTasks/Notes
- Talk:Repository.URD.GetAllURDs/Notes
- Talk:Repository.Variable.GetAllVariables/Notes
Summary
New Classes
New Enums
ResourceFilterEnum_Enumeration - part of SYN-I-4788RestockOnEnum_Enumeration - part of SYN-I-4849TaskMaintenanceTriggerEnum - SYN-I-4920
New Methods
Repository.Xfmea.GetItemInSystemHierarchy_Method - SYN-I-4795
New Properties
- SYN-I-4974
Edits to Existing Methods
- SYN-I-4788 (not code breaking)
- SYN-I-4864 (not code breaking)
Edits to Existing Properties
- SYN-I-4849 (not code breaking)
CPool Class Restock On property
Deprecations
XfmeaItem_Class - removed Nr property because it is a duplicate of the PartNr property.CXfmeaControl_Class and cAction_Class - removed Synthesis identifier fields (because not applicable).CScheduledTask_Class - removed OnCondPerformTaskEvenIfItBringsSysDown property because not in use (obsolete).
SYN-I-4788
Use this template:
Gets a list of models associated with a project. Returns a cModel object array that contains the models in that project.
Syntax
.Model.GetAllModels(Filter)
Parameters
Filter
- Optional. A filter that returns a particular type of model resource (e.g., global only, local and global only, etc.). Can be any ResourceFilterEnum constant. Default value = 0, which returns local models only.
Example
Edit the comment:
'Get a list of all local models in project #1.
SYN-I-4864
Remove the "VB.NET Only" parenthetical in the definition.
Then add the following example. Add note that in VBA, you'll need to instantiate the class.
VBA 'Set the API's language to Portuguese Dim Lng As New cLanguage Lng.SetLanguage (Language_Portuguese) 'The following code triggers the Synthesis repository to return an error message. Dim MyRepository As New Repository Dim m As New cModel MyRepository.ConnectToAccessRepository("C:\RSRepository1.rsr10") m = MyRepository.Model.GetModel(47)
SYN-I-4849
Update definition of RestockOn property:
Gets or sets a value from the RestockOnEnum enumeration, which specifies the pool's restock property (e.g. restock as needed, restock as scheduled, etc.).
SYN-I-4974
Add the following properties to the class:
Name | Description |
---|---|
UT1 | Gets or sets the text in the first user-defined text field. String. |
UT2 | Gets or sets the text in the second user-defined text field. String. |
UT3 | Gets or sets the text in the third user-defined text field. String. |
UT4 | Gets or sets the text in the fourth user-defined text field. String. |
UT5 | Gets or sets the text in the fifth user-defined text field. String. |