PLMPIMMetricReference.GetQuantifier()
Signature
PLMPIMMetricReference.GetQuantifier(Quantifier : LENGTH, X1 : LENGTH, Y1 : LENGTH, Z1 : LENGTH, X2 : LENGTH, Y2 : LENGTH, Z2 : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Quantifier |
Out |
|
LENGTH |
- |
X1 |
Out |
|
LENGTH |
- |
Y1 |
Out |
|
LENGTH |
- |
Z1 |
Out |
|
LENGTH |
- |
X2 |
Out |
|
LENGTH |
- |
Y2 |
Out |
|
LENGTH |
- |
Z2 |
Out |
|
LENGTH |
- |
PLMInterferenceGroup.AddOccurrence()
Add a product occurrence to an interference group.
Signature
PLMInterferenceGroup.AddOccurrence (Occurrence : ProductOccurrence) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Occurrence |
Input |
|
ProductOccurrence |
- |
Example
let group (PLMInterferenceGroup)
let prod (ProductOccurrence)
group.AddOccurrence(prod)
PLMInterferenceGroup.RemoveOccurrence()
Remove a product occurrence from an interference group.
Signature
PLMInterferenceGroup.RemoveOccurrence (Occurrence : ProductOccurrence) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Occurrence |
Input |
|
ProductOccurrence |
- |
Example
let group (PLMInterferenceGroup)
let prod (ProductOccurrence)
group.RemoveOccurrence(prod)
PLMInterferenceGroup.GetOccurrences ()
Get the product occurrences from an interference group.
Signature
PLMInterferenceGroup.GetOccurrence (Occurrence : List) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Occurrences |
Out |
|
List |
-a list of ProductOccurrence |
Example
let group (PLMInterferenceGroup)
let prodList (List)
group.GetOccurrences (prodList)
PLMInterferenceGroup.SetOccurrences ()
Set the product occurrences from an interference group.
Signature
PLMInterferenceGroup.SetOccurrence (Occurrence : List) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Occurrences |
In |
|
List |
-a list of ProductOccurrence |
Example
let group (PLMInterferenceGroup)
let prodList (List)
group.SetOccurrences (prodList)
PLMInterferenceGroup.GetFilter()
Get the filter from an interference group.
Signature
PLMInterferenceGroup.GetFilter (FilterOnRoot : Feature) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
FilterOnRoot |
Out |
|
Feature |
- |
Example
let group (PLMInterferenceGroup)
let filter (Feature)
group.GetFilter(filter)
PLMInterferenceGroup.RemoveFilter()
Remove the filter from an interference group.
Signature
PLMInterferenceGroup.RemoveFilter (): Integer
Example
let group (PLMInterferenceGroup)
group.RemoveFilter ()
PLMInterferenceGroup.SetFilter ()
Set the filter from an interference group.
Signature
PLMInterferenceGroup.SetFilter (FilterOnRoot : Feature, InterferenceSimulation : SIMItfSimulation) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
FilterOnRoot |
In |
|
Feature |
- |
InterferenceSimulation |
In |
|
SIMItfSimulation |
- |
Example
let group (PLMInterferenceGroup)
let filter (Feature)
let sim (SIMItfSimulation)
group.SetFilter(filter, sim )
SIMItfSimulation.GetClashGeometries ()
Gets the clash geometries specification.
Signature
SIMItfSimulation.GetClashGeometries (ClashGeometry : PIM_ClashGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClashGeometry |
Out |
|
PIM_ClashGeometry |
- |
Example
let sim (SIMItfSimulation)
let clashGeometry (PIM_ClashGeometry)
clashGeometry = PIM_ClashGeometryNone
sim.GetClashGeometries (clashGeometry)
SIMItfSimulation.GetClashQuantifiers ()
Gets the clash quantifier specification.
Signature
SIMItfSimulation.GetClashQuantifiers (ClashQuantifier : PIM_ClashQuantifier) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClashQuantifier |
Out |
|
PIM_ClashQuantifier |
- |
Example
let sim (SIMItfSimulation)
let clashQuantifier (PIM_ClashQuantifier)
clashQuantifier = PIM_ClashQuantNone
sim.GetClashQuantifiers(clashQuantifier)
SIMItfSimulation.GetClearanceGeometries ()
Gets the clearance geometries specification.
Signature
SIMItfSimulation.GetClearanceGeometries (ClearanceGeometry : PIM_ClearanceGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClearanceGeometry |
Out |
|
PIM_ClearanceGeometry |
- |
Example
let sim (SIMItfSimulation)
let clearanceGeometry (PIM_ClearanceGeometry)
clearanceGeometry = PIM_ClearanceGeometryNone
sim.GetClearanceGeometries (clearanceGeometry)
SIMItfSimulation.GetClearanceQuantifiers ()
Gets the clearance quantifier specification.
Signature
SIMItfSimulation.GetClearanceQuantifiers (ClearanceQuantifier: PIM_ClearanceQuantifier): Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClearanceQuantifier |
Out |
|
PIM_ClearanceQuantifier |
- |
Example
let sim (SIMItfSimulation)
let clearanceQuantifier (PIM_ClearanceQuantifier)
clearanceQuantifier = PIM_ClearanceQuantNone
sim.GetClearanceQuantifiers(clearanceQuantifier)
SIMItfSimulation.GetContactGeometries ()
Gets the contact geometries specification.
Signature
SIMItfSimulation.GetContactGeometries (ContactGeometry : PIM_ContactGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClearanceGeometry |
Out |
|
PIM_ContactGeometry |
- |
Example
let sim (SIMItfSimulation)
let contactGeometry (PIM_ContactGeometry)
contactGeometry = PIM_ContactGeometryNone
sim.GetContactGeometries (contactGeometry)
SIMItfSimulation.GetElectricalSpec ()
Gets the option for electrical branch geometry.
Signature
SIMItfSimulation.GetElectricalSpec (ElectricSpec: Boolean) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ElectricSpec |
Out |
|
Boolean |
- |
Example
let sim (SIMItfSimulation)
let electricSpec (Boolean)
sim.GetElectricalSpec(electricSpec)
SIMItfSimulation.GetFastenerSpec ()
Gets the option for fastener specification.
Signature
SIMItfSimulation.GetFastenerSpec (FastenerSpec: PIM_FastenerSpec) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
FastenerSpec |
Out |
|
PIM_FastenerSpec |
- |
Example
let sim (SIMItfSimulation)
let fastenerSpec (PIM_FastenerSpec)
fastenerSpec = PIM_NoCheck_Fasteners
sim.GetFastenerSpec(fastenerSpec)
SIMItfSimulation.GetFilter ()
Gets the filter of the interference simulation (if any).
Signature
SIMItfSimulation.GetFilter (FilterOnRoot : Feature) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
FilterOnRoot |
Out |
|
Feature |
- |
Example
let sim (SIMItfSimulation)
let filter (Feature)
sim.GetFilter(filter)
SIMItfSimulation.GetPathwaySpec ()
Gets the option for pathway geometry.
Signature
SIMItfSimulation.GetPathwaySpec (PathwaySpec: Boolean): Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
PathwaySpec |
Out |
|
Boolean |
- |
Example
let sim (SIMItfSimulation)
let pathwaySpec (Boolean)
sim.GetPathwaySpec (pathwaySpec)
SIMItfSimulation.GetTypeOfGeometries ()
Gets the interference geometry type specification.
Signature
SIMItfSimulation.GetTypeOfGeometries (Type: PIM_TypeGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Type |
Out |
|
PIM_TypeGeometry |
- |
Example
let sim (SIMItfSimulation)
let typeSpec (PIM_TypeGeometry)
typeSpec = PIM_MainInterference
sim.GetTypeOfGeometries (typeSpec)
SIMItfSimulation.RemoveFilter ()
Removes interference simulation filter (if any).
Signature
SIMItfSimulation.RemoveFilter() : Integer
Example
let sim (SIMItfSimulation)
sim.RemoveFilter ()
SIMItfSimulation.SetClashGeometries ()
Sets the clash geometries specification.
Signature
SIMItfSimulation.SetClashGeometries (ClashGeometry : PIM_ClashGeometry): Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClashGeometry |
In |
|
PIM_ClashGeometry |
- |
Example
let sim (SIMItfSimulation)
let clashGeometry (PIM_ClashGeometry)
clashGeometry = PIM_ClashGeometryNone
sim.SetClashGeometries (clashGeometry)
SIMItfSimulation.SetClashQuantifiers ()
Sets the clash quantifier specification.
Signature
SIMItfSimulation.SetClashQuantifiers (ClashQuantifier: PIM_ClashQuantifier) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClashQuantifier |
In |
|
PIM_ClashQuantifier |
- |
Example
let sim (SIMItfSimulation)
let clashQuantifier (PIM_ClashQuantifier)
clashQuantifier = PIM_ClashQuantNone
sim.SetClashQuantifiers(clashQuantifier)
SIMItfSimulation.SetClearanceGeometries ()
Sets the clearance geometries specification.
Signature
SIMItfSimulation.SetClearanceGeometries (ClearanceGeometry : PIM_ClearanceGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClashQuantifier |
In |
|
PIM_ClearanceGeometry |
- |
Example
let sim (SIMItfSimulation)
let clearanceGeometry (PIM_ClearanceGeometry)
clearanceGeometry = PIM_ClearanceGeometryNone
sim.SetClearanceGeometries (clearanceGeometry)
SIMItfSimulation.SetClearanceQuantifiers ()
Sets the clearance quantifier specification.
Signature
SIMItfSimulation.SetClearanceQuantifiers (ClearanceQuantifier: PIM_ClearanceQuantifier) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClearanceQuantifier |
In |
|
PIM_ClearanceQuantifier |
- |
Example
let sim (SIMItfSimulation)
let clearanceQuantifier (PIM_ClearanceQuantifier)
clearanceQuantifier = PIM_ClearanceQuantNone
sim.SetClearanceQuantifiers(clearanceQuantifier)
SIMItfSimulation.SetContactGeometries ()
Sets the clearance geometries specification.
Signature
SIMItfSimulation.SetContactGeometries (ContactGeometry : PIM_ContactGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ContactGeometry |
In |
|
PIM_ContactGeometry |
- |
Example
let sim (SIMItfSimulation)
let contactGeometry (PIM_ContactGeometry)
contactGeometry = PIM_ContactGeometryNone
sim.SetContactGeometries (contactGeometry)
SIMItfSimulation.SetElectricalSpec ()
Sets the option for electrical branch geometry.
Signature
SIMItfSimulation.SetElectricalSpec (ElectricSpec: Boolean) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ElectricSpec |
In |
|
Boolean |
- |
Example
let sim (SIMItfSimulation)
let electricSpec (Boolean)
sim.SetElectricalSpec(electricSpec)
SIMItfSimulation.SetFastenerSpec ()
Sets the option for fastener specification.
Signature
SIMItfSimulation.SetFastenerSpec (FastenerSpec: PIM_FastenerSpec) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
FastenerSpec |
In |
|
PIM_FastenerSpec |
- |
Example
let sim (SIMItfSimulation)
let fastenerSpec (PIM_FastenerSpec)
fastenerSpec = PIM_NoCheck_Fasteners
sim.SetFastenerSpec(fastenerSpec)
SIMItfSimulation.SetFilter ()
Sets the filter of the interference simulation.
Signature
SIMItfSimulation.SetFilter (FilterOnRoot : Feature) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
FilterOnRoot |
In |
|
Feature |
- |
Example
let sim (SIMItfSimulation)
let filter (Feature)
sim.SetFilter(filter)
SIMItfSimulation.SetPathwaySpec ()
Sets the option for pathway geometry.
Signature
SIMItfSimulation.SetPathwaySpec (PathwaySpec: Boolean) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
PathwaySpec |
In |
|
Boolean |
- |
Example
let sim (SIMItfSimulation)
let pathwaySpec (Boolean)
sim.SetPathwaySpec (pathwaySpec)
SIMItfSimulation.SetTypeOfGeometries ()
Sets the interference geometry type specification.
Signature
SIMItfSimulation.SetTypeOfGeometries (Type: PIM_TypeGeometry) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Type |
In |
|
PIM_TypeGeometry |
- |
Example
let sim (SIMItfSimulation)
let typeSpec (PIM_TypeGeometry)
typeSpec = PIM_MainInterference
sim.SetTypeOfGeometries (typeSpec)
SIMItfContextOfInterference.GetInterferenceMetric()
Signature
SIMItfContextOfInterference.GetInterferenceMetric(ItfMetric : PLMPIMMetricReference) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ItfMetric |
Out |
|
PLMPIMMetricReference |
- |
SIMItfContextOfInterference.GetOccurrences()
Signature
SIMItfContextOfInterference.GetOccurrences(Occurrence1 : List, Occurrence2 : List) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Occurrence1 |
In/Out |
|
List |
- |
Occurrence2 |
In/Out |
|
List |
- |
SIMItfContextOfInterference.GetQuantifier()
Signature
SIMItfContextOfInterference.GetQuantifier(Quantifier : LENGTH, X1 : LENGTH, Y1 : LENGTH, Z1 : LENGTH, X2 : LENGTH, Y2 : LENGTH, Z2 : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Quantifier |
Out |
|
LENGTH |
- |
X1 |
Out |
|
LENGTH |
- |
Y1 |
Out |
|
LENGTH |
- |
Z1 |
Out |
|
LENGTH |
- |
X2 |
Out |
|
LENGTH |
- |
Y2 |
Out |
|
LENGTH |
- |
Z2 |
Out |
|
LENGTH |
- |
SIMItfSimulation.AddComputeQuantifier()
Set the quantifiers to be computed. AddComputeQuantifier is deprecated; use SetClashQuantifiers and/or SetClearanceQuantifiers instead.
Signature
SIMItfSimulation.AddComputeQuantifier(Quantifier : PIM_ComputeQuantifier) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Quantifier |
In |
|
PIM_ComputeQuantifier |
Set the quantifiers to be computed. |
Example
let quant (PIM_ComputeQuantifier)
quant = PIM_MinimumDistance
NewSim.AddComputeQuantifier (quant)
quant = PIM_PenetrationVector
NewSim.AddComputeQuantifier (quant)
SIMItfSimulation.AddGroupObjects()
Adds a new empty group (if possible) and return it.
Signature
SIMItfSimulation.AddGroupObjects(Group : PLMInterferenceGroup) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Group |
Out |
|
PLMInterferenceGroup |
- |
Example
let NewGroup(PLMInterferenceGroup)
NewSim.AddGroupObjects(NewGroup)
SIMItfSimulation.AddItfSpecificationTypeEngCnx()
Signature
SIMItfSimulation.AddItfSpecificationTypeEngCnx(SpecificationTypeEngCnx : PIM_SpecEngCnx) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
SpecificationTypeEngCnx |
In |
|
PIM_SpecEngCnx |
Adds this type of engineering connection specification to
those into account. |
Example
let SpecEngCnx (PIM_SpecEngCnx)
SpecEngCnx= PIM_CheckContact
NewSim.AddItfSpecificationTypeEngCnx (SpecEngCnx)
SpecEngCnx= PIM_CheckClearance
NewSim.AddItfSpecificationTypeEngCnx (SpecEngCnx)
SIMItfSimulation.Execute()
Executes the Interference Simulation and computes the Interferences based
on a root product occurrence. If no occurrence is input, then the simulation is computed via
batch computation in a separate process. (Batch computation requires that the simulation be
saved to the database at launch time.)
Signature
SIMItfSimulation.Execute([RootOccurrence : ProductOccurrence]) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
RootOccurrence |
In |
|
ProductOccurrence |
The occurrence to consider for Interference Simulation
computation. |
Example
let RootOcc (ProductOccurrence)
[…]
/* Execute simulation on input Root Occurrence */
NewSim.Execute (RootOcc)
/* Rule execution resumes when computation is complete */
let ListToSave(List)
ListToSave.AddItem (NewSim,1)
Save(ListToSave)
/* Execute simulation in batch mode */
NewSim.Execute ()
/* Rule execution continues while computation is under way */
let I = 1
for I while I == 1 // Running(1)
{
// Wait for computation to finish
I = NewSim.V_Itf_ExecutionStatus
}
SIMItfSimulation.GetClearanceValue()
Get the value of clearance in meters used for standard clearance
computation
Signature
SIMItfSimulation.GetClearanceValue(ClearanceValue : Real) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClearanceValue |
Out |
|
Real |
This is the value of clearance in meters used for standard
clearance computation. |
Example
let ClearVal(real)
NewSim.GetClearanceValue (ClearVal)
SIMItfSimulation.GetComparison()
Gets the mode of interference comparison.
Signature
SIMItfSimulation.GetComparison(CompareMode : PIM_Comparison) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
CompareMode |
Out |
|
PIM_Comparison |
- |
Example
let compare (PIM_Comparison)
NewSim.GetComparison (compare)
SIMItfSimulation.GetGroupComputationType()
Get the group computation mode of an interference simulation.
Signature
SIMItfSimulation.GetGroupComputationType(GroupCompType : PIM_GroupComputationType) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
GroupCompType |
Out |
|
PIM_GroupComputationType |
- |
Example
let GroupCompType (PIM_ GroupComputationType)
NewSim.GetGroupComputationType (GroupCompType)
SIMItfSimulation.GetGroupObjects()
Retrieves an Interference Simulation group from a given index.
Signature
SIMItfSimulation.GetGroupObjects(IndexToGet : Integer, Group : PLMInterferenceGroup) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
IndexToGet |
In |
|
Integer |
The index of the group to retrieve from the
simulation. |
Group |
Out |
|
PLMInterferenceGroup |
The group at given index from the simulation (if it
exists). |
Example
let IndexGroupToGet (integer)
let Group2(PLMInterferenceGroup)
IndexGroupToGet =2
NewSim.GetGroupObjects(IndexGroupToGet, Group2)
SIMItfSimulation.GetInterferenceFromIndex()
Signature
SIMItfSimulation.GetInterferenceFromIndex(IndexOfInterference : Integer, ItfContext : SIMItfContextOfInterference, ItfMetric : PLMPIMMetricReference) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
IndexOfInterference |
In |
|
Integer |
- |
ItfContext |
Out |
|
SIMItfContextOfInterference |
- |
ItfMetric |
Out |
|
PLMPIMMetricReference |
- |
SIMItfSimulation.GetIntermediateRepresentation()
Getsthe option of intermediate representation.
SIMItfSimulation.GetNbInterference()
Signature
SIMItfSimulation.GetNbInterference(NbInterference : Integer) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
NbInterference |
Out |
|
Integer |
- |
SIMItfSimulation.GetNumberOfGroupObjects()
Gets the number of groups in the Interference Simulation
Signature
SIMItfSimulation.GetNumberOfGroupObjects(NumberOfGroups : Integer) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
NumberOfGroups |
Out |
|
Integer |
The number of groups in the interference simulation |
Example
let NumberGroups (integer)
NewSim.GetNumberOfGroupObjects (NumberGroups)
SIMItfSimulation.GetRuleSetName()
Get name of the RuleSet containing the knowledge rules of computation. An
empty string returned means that no RuleSet is taken into account.
Signature
SIMItfSimulation.GetRuleSetName(RuleSetName : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
RuleSetName |
Out |
|
String |
Name of the RuleSet containing the knowledge computation rules
on this simulation. |
Example
let sRuletSetUsed(String)
NewSim.GetRuleSetName (sRuletSetUsed)
SIMItfSimulation.GetSpecificationType()
Gets the standard interference specification type.
Signature
SIMItfSimulation.GetSpecificationType(StandardSpecification : PIM_StandardSpec) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
StandardSpecification |
Out |
|
PIM_StandardSpec |
The type of standard computation the simulation is going to
perform. |
Example
let PIM_Spec(PIM_StandardSpec)
NewSim.GetSpecificationType(PIM_Spec)
SIMItfSimulation.IsActiveComputeQuantifier()
Check if the computation of a quantifier is active. IsActiveComputeQuantifier is
deprecated; use GetClashQuantifiers
and/or GetClearanceQuantifiers instead.
Signature
SIMItfSimulation.IsActiveComputeQuantifier (Quantifier : PIM_ComputeQuantifier) : Boolean
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Quantifier |
In |
|
PIM_ComputeQuantifier |
- |
ReturnType
Boolean
Computation of vector of penetration only takes effect when the result is a clash and is
always available. Computation of minimum distance between parts only takes effect when the
result is a clearance. It is only available if one of the following specifications is active:
- Standard computation with a computation of clearance.
- Engineering connections of type "Check Clearance" are taken into account.
- Knowledge rules are taken into account.
Example
let quant (PIM_ComputeQuantifier)
quant = PIM_MinimumDistance
NewSim.AddComputeQuantifier (quant)
quant = PIM_PenetrationVector
NewSim.AddComputeQuantifier (quant)
SIMItfSimulation.IsActiveItfSpecificationTypeEngCnx()
Verifies the use of a specific type of engineering connection
specification.
Signature
SIMItfSimulation.IsActiveItfSpecificationTypeEngCnx(SpecificationTypeEngCnx : PIM_SpecEngCnx) : Boolean
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
SpecificationTypeEngCnx |
In |
|
PIM_SpecEngCnx |
- |
Example
let AreContactEngCnxChecked(boolean)
let SpecEngCnx (PIM_SpecEngCnx)
SpecEngCnx= PIM_CheckContact
AreContactEngCnxChecked = NewSim.IsActiveItfSpecificationTypeEngCnx (SpecEngCnx)
SIMItfSimulation.RemoveComputeQuantifier()
Removes a type of quantifier so it is not computed. RemoveComputeQuantifier is
deprecated; use SetClashQuantifiers and/or SetClearanceQuantifiers instead.
Signature
SIMItfSimulation.RemoveComputeQuantifier(Quantifier : PIM_ComputeQuantifier) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Quantifier |
In |
|
PIM_ComputeQuantifier |
- |
Example
let quant (PIM_ComputeQuantifier)
quant = PIM_MinimumDistance
NewSim.RemoveComputeQuantifier (quant)
quant = PIM_PenetrationVector
NewSim.RemoveComputeQuantifier (quant)
SIMItfSimulation.RemoveGroupObjects()
Removes a group only if this is possible depending of the value of the
parameter
PIM_GroupComputationType.
PIM_GroupComputationTypePIM_GroupComputationType
Signature
SIMItfSimulation.RemoveGroupObjects(Index : Integer) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Index |
In |
|
Integer |
- |
Example
let IndexGroupToDelete(integer)
IndexGroupToDelete=2
NewSim.RemoveGroupObjects(IndexGroupToDelete)
SIMItfSimulation.RemoveItfSpecificationTypeEngCnx()
Removes one type of engineering connection specification from the
interference simulation.
Signature
SIMItfSimulation.RemoveItfSpecificationTypeEngCnx(SpecificationTypeEngCnx : PIM_SpecEngCnx) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
SpecificationTypeEngCnx |
In |
|
PIM_SpecEngCnx |
Removes this type of engineering connection specification from
those taken into account. |
Example
let SpecEngCnx (PIM_SpecEngCnx)
SpecEngCnx= PIM_CheckContact
NewSim.RemoveItfSpecificationTypeEngCnx (SpecEngCnx)
SpecEngCnx= PIM_CheckClearance
NewSim.RemoveItfSpecificationTypeEngCnx (SpecEngCnx)
SIMItfSimulation.RemoveRuleSet()
Removing the RuleSet used in the current interference simulation. In this
case, knowledge rules specification will not be taken into account during
computation.
Signature
SIMItfSimulation.RemoveRuleSet() : Integer
ReturnType
Integer
A specification (standard specification or engineering connection specification or
knowledge rules specification) must always be active. So, before removing the taking
account of the knowledge rules (RemoveRuleSet), one of the others specifications (standard
specification or engineering connection specification) must be active.
Example
NewSim.RemoveRuleSet()
SIMItfSimulation.SetClearanceValue()
Sets the value of clearance in meters to use for standard clearance
computation.
Signature
SIMItfSimulation.SetClearanceValue(ClearanceValue : Real) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClearanceValue |
In |
|
Real |
This is the value of clearance in meters to use for standard
clearance computation. |
Example
let ClearVal(real)
ClearVal=0.01
NewSim.SetClearanceValue (ClearVal)
SIMItfSimulation.SetComparison()
Sets the mode of interference comparison.
Signature
SIMItfSimulation.SetComparison(CompareMode : PIM_Comparison) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
CompareMode |
In |
|
PIM_Comparison |
- |
Example
let compare (PIM_Comparison)
compare = PIM_ComparisonNone
NewSim.SetComparison (compare)
SIMItfSimulation.SetGroupComputationType()
Sets the mode of computation of groups for an interference
simulation.
Signature
SIMItfSimulation.SetGroupComputationType(GroupCompType : PIM_GroupComputationType) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
GroupCompType |
In |
|
PIM_GroupComputationType |
- |
ReturnType
Integer
When setting a new value for "GroupComputationType", the number of groups can be
modified. If this new value of “GroupComputationType” is:
- PIM_AllAgainstAllInGroup can add up to 1 group
- PIM_GroupAgainstContext can add up to 1 group
- PIM_GroupAgainstGroup can add up to 2 groups
Example
let GroupCompType (PIM_ GroupComputationType)
GroupCompType = PIM_AllAgainstAllInGroup
NewSim.SetGroupComputationType (GroupCompType)
SIMItfSimulation.SetIntermediateRepresentation()
Sets the option for intermediate representation.
SIMItfSimulation.SetRuleSetByName()
Adds a RuleSet containing knowledge rules of computation to the
interference simulation. In this case, knowledge rules specification will be taken into
account during computation.
You can retrive the RuleSet by searching its name.
Thus, the name given as argument to this method must be specific so that the search result
finds only one RuleSet.
Signature
SIMItfSimulation.SetRuleSetByName(RuleSetName : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
RuleSetName |
In |
|
String |
- |
Example
NewSim.SetRuleSetByName(“MyRuleset”)
SIMItfSimulation.SetSpecificationType()
Sets the standard interference specification type.
Signature
SIMItfSimulation.SetSpecificationType(StandardSpecification : PIM_StandardSpec) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
StandardSpecification |
In |
|
PIM_StandardSpec |
This is the type of standard computation the Interference
Simulation should perform. |
Example
let PIM_Spec (PIM_StandardSpec)
PIM_Spec= PIM_SpecStd_Clash
NewSim.SetSpecificationType(PIM_Spec)
PIM_Comparison
Interference Simulation type of comparison, these options allow or not the reuse of
existing interference simulation results.
By default, Interference Simulation is created with the option:
PIM_RecomputeModify.
Inheritance Path
ObjectType
Literal
Enumere
PIM_Comparison
Enumerated Values
| Value |
NLS Value |
Comment |
PIM_ComparisonNone |
ComparisonNone |
No reuse of existing interference simulation results.
Previously computed interferences are removed from the simulation. |
PIM_RecomputeModify |
RecomputeModify |
Reuse of existing interference simulation results. In this
case, only the modified parts are computed. Previously computed interferences are
kept. |
PIM_DeleteOutOfScope |
DeleteOutOfScope |
This option forces the selection of option:
RecomputeModify. This option allows to remove from the
simulation the interferences for which the validity status is "Out of
Scope". |
PIM_GroupComputationType
Management of groups for Interference Simulation.
The interference simulation may have followings types of groups:
Inheritance Path
ObjectType
Literal
Enumere
PIM_GroupComputationType
Enumerated Values
| Value |
NLS Value |
Comment |
PIM_AllAgainstAllInGroup |
AllAgainstAllInGroup |
The computation takes into account all the occurrences against
each other inside groups. |
PIM_GroupAgainstGroup |
GroupAgainstGroup |
The computation takes into account all the occurrences in a
group against the others in other group. |
PIM_GroupAgainstContext |
GroupAgainstContext |
The computation takes into account all the occurrences of a
group against the rest of the context. In that case, the context is the root of
one occurrence in the group. |
PIM_AllAgainstAllInContext |
AllAgainstAllInContext |
The computation takes into account all the occurrences against
each other inside context. In that case, the context is the root product. |
PIM_FastenerSpec
Enum for fastener specification. By default, Interference Simulations are created with
the option: PIM_NoCheck_Fasteners
Inheritance Path
ObjectType
Literal
Enumere
PIM_FastenerSpec
Enumerated Values
| Value |
NLS Value |
Comment |
PIM_NoCheck_Fasteners |
No check fasteners |
Fasteners are NOT taken into account for computation. |
PIM_Check_Fasteners |
Check fasteners |
Fasteners are taken into account for computation. |
PIM_Check_FastenedParts |
Check fastened parts |
FastenedParts and Fasteners are taken into account for
computation and computation is also launched between them. |
PIM_ClashGeometry
Enum for interference clash geometry specification. By default, Interference
Simulations are created with the option: PIM_ClashGeometriesNone.
Inheritance Path
ObjectType
Literal
Enumere
PIM_ClashGeometry
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_ClashGeometriesNone |
Clash geometries none |
No clash geometry is saved. |
| PIM_ClashGeometriesCurve |
Clash geometries curve |
Clash geometry as curves is saved. |
| PIM_ClashGeometriesVolume |
Clash geometries volume |
Clash geometry as volumes is saved. |
| PIM_ClashGeometriesVolume |
Clash geometries volume |
Clash geometry as curves and volumes is saved. |
PIM_ContactGeometry
Enum for interference contact geometry specification. By default, Interference
Simulations are created with the option: PIM_ContactGeometryNone.
Inheritance Path
ObjectType
Literal
Enumere
PIM_ContactGeometry
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_ContactGeometryNone |
Contact geometries none |
No contact geometry is saved |
| PIM_ContactGeometryTriangle |
Contact geometries curve |
Contact geometry as triangles is saved |
PIM_ClearanceGeometry
Enum for interference clearance geometry specification. By default, Interference
Simulations are created with the option: PIM_ClearanceGeometriesNone. .
Inheritance Path
ObjectType
Literal
Enumere
PIM_ClearanceGeometry
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_ClearanceGeometriesNone |
Clearance geometries none |
No clearance geometry is saved |
| PIM_ClearanceGeometriesTriangle |
Clearance geometries curve |
Clearance geometry as triangles is saved |
| PIM_ClearanceGeometriesArea |
Clearance geometries area |
Clearance geometry as area is saved |
PIM_TypeGeometry
Enum for interference geometry type specification. By default, Interference
Simulations are created with the option: PIM_MainInterference.
Inheritance Path
ObjectType
Literal
Enumere
PIM_TypeGeometry
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_MainInterference |
Main interference |
Main interference type geometry computation |
| PIM_AllClashesContactsClearances |
All clashes contacts clearances |
Clearance geometry as triangles is saved |
PIM_ClashQuantifier
Enum for interference clash quantifier specification. By default, Interference
Simulations are created with the option: PIM_ClashQuantNone
Inheritance Path
ObjectType
Literal
Enumere
PIM_ClashQuantifier
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_ClashQuantNone |
Clash quantifier none |
No clash quantifier is computed |
| PIM_ClashQuantPenetrationVector |
Clash quantifier vector |
Clash quantifier as a penetration vector is computed |
| PIM_ClashQuantPenetrationVolume |
Clash quantifier volume |
Clash quantifier as a penetration volume is computed |
| PIM_ClashQuantPenetrationVectorAndVolume |
Clash quantifier vector and volume |
Clash quantifier as a penetration vector and volume is computed |
PIM_ClearanceQuantifier
Enum for interference clearance quantifier specification. By default, Interference
Simulations are created with the option: PIM_ClearanceQuantNone
Inheritance Path
ObjectType
Literal
Enumere
PIM_ClearanceQuantifier
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_ClearanceQuantNone |
Clearance quantifier none |
No clearance quantifier is computed |
| PIM_ClearanceQuantMinimumDistance |
Clearance minimum distance |
Clearance quantifier as a minimum distance is computed |
PIM_ComputeQuantifier
PIM_ComputeQuantifieris deprecated; use ClashQuantifier and/or ClearanceQuantifier instead. Enum for interference clearance quantifier
specification. By default, Interference Simulations are created with the option:
PIM_MinimumDistance
Inheritance Path
ObjectType
Literal
Enumere
PIM_ComputeQuantifier
Enumerated Values
| Value |
NLS Value |
Comment |
| PIM_MinimumDistance |
MinimumDistance |
Computation of minimum distance between parts.
This option has only effect when the result is a clearance
|
| PIM_PenetrationVector |
PenetrationVector |
Computation of vector of penetration.
This option has only effect when the result is a clash.
|
|