Agile SDK Working with Design objects

SDK support for Agile PLM's Engineering Collaboration(EC) module -Agile PLM's EC module is used to manage computer assisted design(CAD) data in Agile PLM.
Agile PLM's Designs class and Design objects subclass support EC/PLM integration.
Objects created in this subclass have many of the same properties of File folder.
Working with Design Objects
A Design object is a business object that specifies one or more URLs or files stored in Agile PLM's File Management Server.It contains information about the binary files attached to it.Similar to other Agile PLM business objects,Design objects appear in Agile PLM's class hierarchy as a separate base class.
Design class object are used with Agile PLM's Engineering Collaboration (EC) module which is used to manage CAD data in Agile PLM.Objects created in this class have many of the same properties ad behaviors of File folders . Users with administrator privileges enable opening and working with Design object in Java Client and Agile PLM users can the access and work exclusively with these objects in Web Client.
 
Agile SDK support the following Design object-releated functions:
   Managing (adding ,removing,getting,and editing)version specific Relationships between two Design objects.
   Using where-used qureies for Design object deployments in Agile PLM Class structures.For information about where-used qureies,see Creating a Where-Used Query on page 60
 
Adding and Loading Design Objects
To create or get an IDesign object,you can use IAgileSession.CreateObject() or IAgileSession.getObject().
The following examples show the different methods provided by the SDK to create and get Design objects.
Example: Creating a Design by class name
IDesign des=(IDesign)m_session.createObject("Design","DESIGN00133");
Example:Creating a Design by class ID
IDesign des =(IDesign)m_session.CreatObject(FileFolderConstants.CLASS_DESIGN,"DESIGN00133");
Example:Creating a Design by IAgileClass reference:
IDesign des=(IDesign)m_session.creatObject(desClass,"DESIGN00133");
Example:Loading a Design object
IDesign des=(IDesign)m_session.getObject(IDesign.OBJECT_TYPE,"DESIGN00133");

转载于:https://www.cnblogs.com/leojun/archive/2010/11/06/1870853.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值