www.maruf.ca

Download Report

Transcript www.maruf.ca

INSTALLATION
1
After installation, use of crack documents JS0GROUP.dll
copy to the Installation Directory usually :
C:\Program Files\Dassault Systemes\B14\intel_a\code\bin
2
Installation of Visual C++. Install Visual C++ and
Visual Basic from visual Studio 6.
Don’t install Visual Studio.net
3
CAA and the installation rade. CAA first installed the
system will automatically install CATIA folder, to
install rade not packed in CATIA folder,installation of
CATIA the same way as C:\Program Files\Dassault Systems\
\B14\intel_a\code\bin After the installation of the
service inside the LaunchCommandServer and ReleaseClient
stop, then Rade the crack under the JS0GROUP.dll copy
documents to C:\Program Files\Dassault Systemes\B14\
intel_a\code\bin under cover. Launch services.
TOOLS LICENSING
1.RADE
product certification, through the order
started RADE Tools Licensing:
d: \ rade \ B14 \ intel_a \ code \ bin \ Tools
Licensing
2.
Installation of on-line help, in order to
RADE CAA development in the provision of
assistance (which is under the V5R14 do not know
is not the same with other versions of the
software or is my problem others said the first I
would like to be installed is Empty):
www.maruf.ca
C:\Program Files\Dassault Systemes\B14\intel_a\code\bin\Tools Licensing\CATVBTSetup.exe
www.maruf.ca
RADE R14
www.maruf.ca
RADE R17
www.maruf.ca
RADE R14
RADE R17
www.maruf.ca
www.maruf.ca
www.maruf.ca
www.maruf.ca
?
www.maruf.ca
www.maruf.ca
PART INTERFACE
Factory2D (Object) Framework
CreateCircle
Creates and returns a 2D circle arc.
CreateClosedCircle
Creates and returns a closed 2D circle.
CreateClosedEllipse
Creates and returns a closed 2D ellipse.
CreateControlPoint
Creates and returns a 2D spline control point.
CreateEllipse
Creates and returns a 2D ellipse arc.
CreateHyperbola
Creates and returns a hyperbola.
CreateIntersection
Creates and returns the intersection
of an object with the sketch.
CreateIntersections
Creates and returns the possible
intersections of an object with the sketch.
CreateLine
Creates and returns a 2D line.
CreateLineFromVector
Creates and returns a 2D line.
CreateParabola
Creates and returns a parabola.
CreatePoint
Creates and returns a 2D point.
CreateProjection
Creates and returns the projection
of an object on the sketch.
CreateProjections
Creates and returns the possible
projections of an object on the sketch.
CreateSpline
Creates and returns a 2D b-spline.
Sketches (Collection)
Func
Add(
CATIAReference
iPlane) As
CATIASketch
CatGeometricType (Enumeration)
enum CatGeometricType { catGeoTypeUnknown, catGeoTypeLine2D
The geometrical
catGeoTypeAxis2D,
catGeoTypePoint2D,
element is a 2D line.
catGeoTypeLine2D,
catGeoTypeControlPoint2D,
Creates and returns a 2D line.
catGeoTypeCircle2D,
Parameters:
catGeoTypeHyperbola2D,
iX1
catGeoTypeParabola2D,
The X coordinate of
……………………….}
line first extremity
Method Index : GetDirection
GetOrigin
SetData
iY1
iX2
Func
CreateLine(
iY2
double
iX1,
double
iY1,
double
iX2,
double
iY2) As CATIALine2D
Example:
This example creates the newSketch
on the XY plane of the myPart part:
Set XYPlane =
myPart.OriginElements.PlaneXY()
Set newSketch =
myPart.Sketches.Add(XYPlane)
Method Add GetBoundary Item
The Y coordinate of
line first extremity
The X coordinate of
line second extremity
The Y coordinate of
line second extremity
SketcherInterfaces Framework
Object Index
Axis2D
Circle2D
ControlPoint2D
Curve2D
Ellipse2D
Factory2D
GeometricElement
Geometry2D
Hyperbola2D
Line2D
Parabola2D
Point2D
Sketch
Spline2D www.maruf.ca
System.IUnknown |
+---System.IDispatch |
+---System.CATBaseUnknown |
+---PartInterfaces.CATIShape |
+---PartInterfaces.CATIPrism |
+---CATIPad
PART INTERFACES FRAMEWORK INDEX
CATIChamfer
CATICircPatt
CATICounterDrilledHole
CATIEdgeFillet CATIFaceFillet
CATIClose
CATICounterBoredHole
CATICounterSunkHole
CATIDraft
CATIFillet
CATIGroove
CATIHoleLimit
CATIMirror
CATINewHole
CATIPrism
CATIPrismLimit
CATIPrtBooleanOperation
CATIPrtManageFeatBuild
CATIPrtSimpleLimit
CATIRectPatt
CATIRevol
CATIShape
CATIShell
CATIStiffener
CATISuSplit
CATITaperedHole
CATITritangentFillet
CATIOffset
CATIPad
CATIPocket
CATIPrtAxis1
CATIPrtBooleanFactory
CATIPrtCfgAddin CATIPrtFactory CATIPrtLimit
CATIPrtPattern CATIPrtProfile
CATIPrtToPattern CATIPrtTrimFactory
CATIRib
CATISewing
CATIShaft
CATISimpleHole CATISlot
CATISplit
CATISweep
CATISweepLimit
CATIThick
CATIThread
CATITrim
CATIUserPatt
CONCLUSION
RADE handle code in Build time and
compile time. We have to know the
structure of common class and
header to avoid and conflict and
error. Example : Line (2D, 3D, In
sketcher, In Free shape, In Drawing,
In assembly.)
?
USAGE: an implementation of this interface is supplied
and you must use it as is. You should not reimplement it.
interface CATIPad
Interface which characterizes the Pad feature
This object is included in the file: CATIPad.h
If needed, your Imakefile.mk should include the module:
CATPartInterfaces
<PartItf.h>
#ifndef __PartItf_h__
#define __PartItf_h__
/** @CAA2Required */
/**************************************/
/* DON T DIRECTLY INCLUDE
THIS HEADER IN YOUR APPLICATION CODE. IT IS
REQUIRED TO BUILD CAA APPLICATIONS
BUT IT MAY DISAPEAR AT ANY TIME
<CATIPrism.h>
#include <PartItf.h>
#include <CATISpecObject.h>
#include <CATUnicodeString.h>
#include <CATBaseUnknown.h>
#include <CATErrorMacros.h>
#include <CATError.h>
<CATIPrism.h>
#include <PartItf.h>
#include <CATIShape.h>
/* -*-c++-*- */
#ifndef CATIPad_H
#define CATIPad_H
// COPYRIGHT DASSAULT SYSTEMES 1999/**
* @CAA2Level L1 * @CAA2Usage U3 */
#include <PartItf.h>
#include <CATIPrism.h>
#ifndef LOCAL_DEFINITION_FOR_IID
extern ExportedByPartItf IID IID_CATIPad;
#else
extern "C" const IID IID_CATIPad;
#endif
/** * Interface which characterizes the Pad feature.
*/
class ExportedByPartItf CATIPad : public CATIPrism
{
CATDeclareInterface;
public:
};
CATDeclareHandler (CATIPad, CATIPrism);
#endif
// CATIPad_H
www.maruf.ca
C++ RADE ENVIRORMENT
• Create Interface
• Create new generic framework
• Create new Module and Link it.
• Locate Prerequisite Frameworks
• Write or Add your Program (.cpp)
• Build→mkmk then Open runtime Window
Add the necessary modules so you Imakefile.mk looks like the one
below
CAN Be done
automatically, but make
sure all modules are there
CORE CODE
// Creates the points
double pt1[2] = {dLenX, dLenY},
pt2[2] = {0., dLenY},
pt3[2] = {0., 0.},
pt4[2] = {dLenX, 0.};
//Creates pad
CATISpecObject_var spSpecObj = spPrtFactOnPrtCont>CreatePad(spSketch);
CATIPad_var spPadOnSpecObj(spSpecObj);
spPadOnSpecObj->ModifyDirection(dirZ);
spPadOnSpecObj->ModifyEndType(catOffsetLimit);
spPadOnSpecObj->ModifyEndOffset(dLenZ);
>ModifyStartType(catOffsetLimit);
spPadOnSpecObj->ModifyStartOffset(0.);
www.maruf.ca