public interface Generator extends Remote
ShipSession
Modifier and Type | Interface and Description |
---|---|
static class |
Generator.AskPlatesSpatialRelationsData
This class holds the data returned from
askPlatesSpatialRelations(nxopen.TaggedObject, nxopen.TaggedObject[], double) |
static class |
Generator.ClashType
Clash status to indicate to show space position relation between two bodies
1.Clashes in entities of the same dimension
Clash_interfere Two solid bodies interfere if they share a common volume
Two faces interfere if they share a common area, or they intersect.
|
static interface |
Generator.ShipCustomerEnterApplication
Defines the callback function whenever an NX application is entered.
|
static interface |
Generator.ShipCustomerExitApplication
Defines the callback function whenever an NX application is exited.
|
Modifier and Type | Method and Description |
---|---|
void |
advanceProgress(int stepNumber)
Advances the progress bar.
|
TaggedObject[] |
askIntersectionPlates(TaggedObject plate,
TaggedObject[] inSheets,
double tolerence)
Gets all intersected plates with the given plates.
|
Generator.AskPlatesSpatialRelationsData |
askPlatesSpatialRelations(TaggedObject hull,
TaggedObject[] inSheets,
double tolerence)
Gets the spatial relations of the plates based on its positions.
|
Generator.ClashType |
checkBodyClash(DisplayableObject bodyA,
DisplayableObject bodyB)
Check the clash between two bodys.
|
TaggedObject[] |
createCargo(TaggedObject[] inSheets,
double tolerence)
Creates the ship cargo body based on the input boundary sheets.
|
void |
createProgress(int numSteps,
String operationName)
Creates a progress bar with given title and number of total steps.
|
void |
deleteProgress()
Deletes the progress bar.
|
Body |
getOutlineSheetbody(Body[] bodies,
DatumPlane datumPlane)
Get the outline sheet body of input bodies.
|
TaggedObject[] |
getSheetsEdgesLaidOnTargetSheet(TaggedObject outSheet,
TaggedObject[] inSheets,
double tolerence)
Gets the edges of tool sheet bodies which are laid on a target sheet body
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
registerApplicationCallback(String name,
Generator.ShipCustomerEnterApplication enterCallback,
Generator.ShipCustomerExitApplication exitCallback)
Register application callback when application is entered or exited.
|
Generator.ClashType checkBodyClash(DisplayableObject bodyA, DisplayableObject bodyB) throws NXException, RemoteException
bodyA
- bodyB
- NXException
RemoteException
Body getOutlineSheetbody(Body[] bodies, DatumPlane datumPlane) throws NXException, RemoteException
bodies
- datumPlane
- NXException
RemoteException
Generator.AskPlatesSpatialRelationsData askPlatesSpatialRelations(TaggedObject hull, TaggedObject[] inSheets, double tolerence) throws NXException, RemoteException
hull
- inSheets
- tolerence
- NXException
RemoteException
TaggedObject[] askIntersectionPlates(TaggedObject plate, TaggedObject[] inSheets, double tolerence) throws NXException, RemoteException
plate
- inSheets
- tolerence
- NXException
RemoteException
void registerApplicationCallback(String name, Generator.ShipCustomerEnterApplication enterCallback, Generator.ShipCustomerExitApplication exitCallback) throws NXException, RemoteException
name
- The name of the application.enterCallback
- The method called when entering the applicationexitCallback
- The method called when exiting the applicationNXException
RemoteException
TaggedObject[] createCargo(TaggedObject[] inSheets, double tolerence) throws NXException, RemoteException
inSheets
- tolerence
- NXException
RemoteException
TaggedObject[] getSheetsEdgesLaidOnTargetSheet(TaggedObject outSheet, TaggedObject[] inSheets, double tolerence) throws NXException, RemoteException
outSheet
- inSheets
- tolerence
- NXException
RemoteException
void createProgress(int numSteps, String operationName) throws NXException, RemoteException
numSteps
- operationName
- NXException
RemoteException
void deleteProgress() throws NXException, RemoteException
NXException
RemoteException
void advanceProgress(int stepNumber) throws NXException, RemoteException
stepNumber
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.