Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Get curve attribute with PCL function

Status
Not open for further replies.

nekcorp

New member
Mar 3, 2015
12
Hi,

I would like get curve attributes (curve ID, points ID and coordinates) with a PCL function.

I would like write a text file with a format like .bdf or .dat not with mesh elements but geomtric elements like curve, point, surface.

for example
Code:
CURVE ID PtA PtB
SURFACE ID PtA PtB PtC PtD
POINT ID X Y Z
etc ....

In the patran_2012.2_doc_pcl_reference I have seen db_get_curve_id, but when I use it I cannot get the ID of the curve


Code:
INTEGER entity_id(1), status, label

status = db_get_curve_id( label, entity_id(1) )

For the points ID and coordinates I have not found a function.

Who can help me please ?

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor