Issue 5843: Model creation parameters (cad-ftf) Source: NASA (Mr. Russell W. Claus, claus(at)grc.nasa.gov) Nature: Uncategorized Issue Severity: Summary: Where can one get the CadFeature::Parameter instances from to use in CadSystem::create_model() ? As far as I know, the instance of a idl interface can only be created on the server (in a get method or in a factory) and I can see no way of creating empty CadFeature::Parameter instances. Besides, why was CadFeature::ParameterSeq used on Model level (CadMain::Model::create_model(), CadMain::Model::get_parameter_set()) and not as in other places CosProperyService::Properties? It is not clear to me, what information is supposed to be behind these parameters. This looks like a valid concern. We can fix this by using either CosProperyService::Properties in place of the CadFeature::ParameterSeq or we can created a CadFeature::ParameterFactory. I suggest the use of Properties. Resolution: Revised Text: Actions taken: January 21, 2003: received issue Discussion: End of Annotations:===== X-Sender: claus@popserve.grc.nasa.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 21 Jan 2003 13:36:23 -0500 To: issues@omg.org From: "Russell W. Claus" Subject: CAD Services issue Cc: cad-rtf@omg.org, Jim.Stephens@ugs.com I have received the following issue which has merit: Subject: Model creation parameters Where can one get the CadFeature::Parameter instances from to use in CadSystem::create_model() ? As far as I know, the instance of a idl interface can only be created on the server (in a get method or in a factory) and I can see no way of creating empty CadFeature::Parameter instances. Besides, why was CadFeature::ParameterSeq used on Model level (CadMain::Model::create_model(), CadMain::Model::get_parameter_set()) and not as in other places CosProperyService::Properties? It is not clear to me, what information is supposed to be behind these parameters. This looks like a valid concern. We can fix this by using either CosProperyService::Properties in place of the CadFeature::ParameterSeq or we can created a CadFeature::ParameterFactory. I suggest the use of Properties. Any comments? ------------- Russ Claus NASA Glenn (216) 433-5869 / fax (216) 433-5802 Reply-To: From: "Larry L. Johnson" To: "Russell W. Claus" , Cc: , Subject: RE: CAD Services V 1.1 changes Date: Wed, 22 Jan 2003 06:03:14 -0800 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal > -----Original Message----- > From: Russell W. Claus [mailto:Russell.W.Claus@grc.nasa.gov] > Sent: Wednesday, January 22, 2003 5:49 AM > To: cad-rtf@omg.org > Cc: jim.Stephens@ugs.com; korn@caxopen.de > Subject: CAD Services V 1.1 changes > > > It has been suggested to alter the input parameter > CadFeature::ParameterSeq > model_params on CadConnection::CadSystem to a > CosPropertyService::Properties. > > This is clearly the more correct implementation and I will try to get it > included in the V1.1 changes. Please post your vote by 1/23 on > making this > change. This is a fairly minor change. MSC.Software votes for the above proposal. ********************************************* I have assumed that the remainder of this is not part of the vote. Let me know if I am mistaken. As a nit, I suggest that in the future we keep suggestion/discussion in separate memos from formal vote requests. Regards, Larry > It has also been suggested to alter our use of EntitySeqs to LongSeqs - > essentially to use Unique IDs as identifiers. [In places like: > Model::delete_entity(), EntityGroup::add_entities(), > EntityGroup::remove_entities()] This is a minor change but it > would alter a > large number of operations. Your comments on this issue are welcome. I > would like to have this deferred to v1.2, but I will respond to > the group's > recommendation. > > ------------- > Russ Claus > NASA Glenn (216) 433-5869 / fax (216) 433-5802 > > Reply-To: From: "Larry L. Johnson" To: "Russell W. Claus" , Cc: , Subject: RE: CAD Services V 1.1 changes Date: Wed, 22 Jan 2003 06:03:14 -0800 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal > -----Original Message----- > From: Russell W. Claus [mailto:Russell.W.Claus@grc.nasa.gov] > Sent: Wednesday, January 22, 2003 5:49 AM > To: cad-rtf@omg.org > Cc: jim.Stephens@ugs.com; korn@caxopen.de > Subject: CAD Services V 1.1 changes > > > It has been suggested to alter the input parameter > CadFeature::ParameterSeq > model_params on CadConnection::CadSystem to a > CosPropertyService::Properties. > > This is clearly the more correct implementation and I will try to get it > included in the V1.1 changes. Please post your vote by 1/23 on > making this > change. This is a fairly minor change. MSC.Software votes for the above proposal. ********************************************* I have assumed that the remainder of this is not part of the vote. Let me know if I am mistaken. As a nit, I suggest that in the future we keep suggestion/discussion in separate memos from formal vote requests. Regards, Larry > It has also been suggested to alter our use of EntitySeqs to LongSeqs - > essentially to use Unique IDs as identifiers. [In places like: > Model::delete_entity(), EntityGroup::add_entities(), > EntityGroup::remove_entities()] This is a minor change but it > would alter a > large number of operations. Your comments on this issue are welcome. I > would like to have this deferred to v1.2, but I will respond to > the group's > recommendation. > > ------------- > Russ Claus > NASA Glenn (216) 433-5869 / fax (216) 433-5802 > > From: "Mikhail Kazakov" To: , "'Russell W. Claus'" , "'Juergen Boldt'" Subject: RE : CadMain::EntityFactory::create() parameters Date: Thu, 23 Jan 2003 10:51:46 +0100 Organization: EADS Matra Datavision X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal Hi again, :) > EntitySeq CadMain::EntityFactory::create(out TransientIdsStatusStruct > status_flags) throw(CadUtility::CadError); The main reason of currently present "entities" parameter is to return the list of "references" mapped to the list of ids in fact. I see, that you are mostly bound to Uids, but other implementors use references as well. > By the way: What is the difference between unique_id's and > transient_id's? Are the transient_id's only for the mapping of the > to No difference. In fact it's described in the specification itself. You can use UIDs from the cad system in order to attach new elements to existing ones during the creation. Kazakov L Mikhail (m-kazakov@eads.matradatavision.com)2.vcf