Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface PLMIInterferenceResult
Interface to retrieve interference results of an Interference Simulation.
Use method to retrieve the list of interference results. Each element of this list is a pointer on interface PLMIInterferenceResult.
public virtual GetAnalysisStatus( | oStatus) |
This example gets the status of an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) PLMIInterferenceResult::ResultStatus Status = PLMIInterferenceResult::ResultStatusNotAnalyzed ; HRESULT hr = piResult->GetAnalysisStatus (Status) ;
public virtual GetFirstProduct( | oProduct) |
This example gets the first product in interference for an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) CATIPLMNavOccurrence * piOcc = NULL ; HRESULT hr = piResult->GetFirstProduct (piOcc) ;
public virtual GetGeometricalValues( | oPoint1, | |
oPoint2, | ||
oDistance) |
This example gets the geometrical values of an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) CATMathPoint Pt1, Pt2 ; double DistMin = 0.0 ; HRESULT hr = piResult->GetGeometricalValues (Pt1, Pt2, DistMin) ;
public virtual GetResultType( | oResultType) |
This example gets the type of result of an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) PLMIInterferenceResult::ResultType ResultType = PLMIInterferenceResult::ResultTypeUndefined ; HRESULT hr = piResult->GetResultType (ResultType) ;
public virtual GetSecondProduct( | oProduct) |
This example gets the second product in interference for an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) CATIPLMNavOccurrence * piOcc = NULL ; HRESULT hr = piResult->GetFirstProduct (piOcc) ;
public virtual GetUserComment( | oComment) |
This example gets the comment of an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) CATUnicodeString Comment = "" ; HRESULT hr = piResult->GetUserComment (Comment) ;
public virtual GetUserType( | oUserType) |
This example gets the user type of an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) PLMIInterferenceResult::ResultUserType UserType = PLMIInterferenceResult::ResultUserTypeClash ; HRESULT hr = piResult->GetUserType (UserType) ;
public virtual SetAnalysisStatus( | iStatus) |
This example sets the status "OK" to an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) PLMIInterferenceResult::ResultStatus Status = PLMIInterferenceResult::ResultStatusOK ; HRESULT hr = piResult->SetAnalysisStatus (Status) ;
public virtual SetUserComment( | iComment) |
This example sets the comment "No comment" to an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) CATUnicodeString Comment = "No comment" ; HRESULT hr = piResult->SetUserComment (Comment) ;
public virtual SetUserType( | iUserType) |
This example sets the user type "Clash" of an interference of the current interference simulation.PLMIInterferenceSimulation * piItfSimu = ... ; // (created by PLMIInterferenceServices) PLMIInterferenceResult * piResult = ... ; // one interference of the simulation (see method GetInterferenceResults of PLMIInterferenceSimulation) PLMIInterferenceResult::ResultUserType UserType = PLMIInterferenceResult::ResultUserTypeClash ; HRESULT hr = piResult->SetUserType (UserType) ;
enum ResultStatus { ResultStatusOK, ResultStatusKO, ResultStatusNotAnalyzed }Interference Status.
enum ResultType { ResultTypeClash, ResultTypeContact, ResultTypeClearance, ResultTypeNoInterference, ResultTypeUndefined }Interference Result Type.
enum ResultUserType { ResultUserTypeClash, ResultUserTypeContact, ResultUserTypeClearance, ResultUserTypeNoInterference, ResultUserTypeUndefined }Interference User Type.
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.