Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia EKL Create Point

Status
Not open for further replies.

NaWin55

Mechanical
Mar 21, 2020
98
Hello all

i am trying to create a point using EKL method but i am getting this error

EKL_ERROR_ix7qv2.png


i have created a point also from formulas tab

i tried the following code from catiawidgets.net website

// Construct a Point by coordinates
Let ioPoint ( Point )
ioPoint = point( 0mm , 10mm , 20mm )

// Equate the Spec Object to the Point in Memory
`Part1/Geometrical Set.1/Point.1` = ioPoint

how do i create point or any other feature using EKL

Thanks
 
Replies continue below

Recommended for you

your part name is EKL not Part1
[upsidedown]

Eric N.
indocti discant et ament meminisse periti
 
How to create another point:

EKL need several things to create a point:

we need the point definition as (X,Y,Z) or any other definition (point on curve with ratio...)... (here we pass the definition to a point object)
Code:
Let ioPoint ( Point )
ioPoint = point( 0mm , 10mm , 20mm )
we also need a geometric element to represent this definition, in the sample by Marc the geometry already exists as point.1 in geoset

Then finally we pass the definition to the geometry
Code:
`Part1/Geometrical Set.1/Point.1` = ioPoint

so if you want to create another point you need to create a new geometry using the new (type, name, destination) function:
Code:
let myGeoSet (openBodyFeature)
myGeoSet = `Part1/Geometrical Set.1`

let newPT (point)
newPT = new("Point", "Point.2", myGeoSet )

this will create a isolate point (with no definition ) in geoset Geometrical Set.1

Then you pass a definition

Code:
newPT = point(1mm,2mm,3mm)

then you do an update
Code:
newPT .Update()






Eric N.
indocti discant et ament meminisse periti
 
Interesting Eric! [medal]
However: in CATIA V5R32 my KWA reaction cannot recognize the "NEW" function...
NEW_error_ol1peh.gif


regards,
LWolf
 
Eric, could you pls. respond to my previous coment?...

regards,
LWolf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor