Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface PLMIInterferenceServices
Interface to create a default Interference Simulation.
Use CATInstantiateComponent to create an instance of PLMPIMInterferenceServices class. It returns also a pointer on
the interface PLMIInterferenceServices as output argument. And this returned interface pointer is used to create the simulation.
See example below.
public virtual CreateInterferenceSimulation( | iReference, | |
opiItfSimu) |
This example creates the opiITFSimu InterferenceSimulation from the ipiRootProduct product.CATIPLMNavReference * ipiRootProduct = ... PLMIInterferenceServices * opiItfServices = NULL ; PLMIInterferenceSimulation * opiItfSimu = NULL ; HRESULT hr = ::CATInstantiateComponent ( "PLMPIMInterferenceServices" , IID_PLMIInterferenceServices , (void**)& opiItfServices ) ; if ( SUCCEEDED(hr) && (NULL != opiItfServices) ) { hr = opiItfServices->CreateInterferenceSimulation (ipiRootProduct, opiItfSimu) ; ... } CATSysReleasePtr (opiItfServices) ; CATSysReleasePtr (opiItfSimu ) ;
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.