API script for deflection node locations

API script for deflection node locations

Kskinner
Explorer Explorer
477 Views
1 Reply
Message 1 of 2

API script for deflection node locations

Kskinner
Explorer
Explorer

Does anyone have an API script to get node locations before and after deflection (without shrinkage) that can be shared?

 

I’d like something with 6 columns: x, y, z, dx, dy, dz. 

 

I’ve tried a Nodal-csv.vbs with the deflection output with no luck.

 

Thanks in advance,

Kris Skinner

0 Likes
478 Views
1 Reply
Reply (1)
Message 2 of 2

bernor_mf
Advisor
Advisor

Hi Kris,

first, I have no off-shelf-solution to your request.

 

The object WarpQueryNode in API can get coordinates before and after deflection, and components/deltas.

It has no data index to get result without shrinkage.

 

You can probably workaround by adding the calculaction of removing shrinkage from "after deflection" by enter

a shrinkage value in a script.

 

Or do a Warp export.

Re-import to Synergy, do a scale by shrinkage value, then export coordinates.

It should keep node numbers, but has to be verified.

Then you can calculate node to node components/deltas without shrinkage.

 

Even if not resolving your request, I hope this helps somewhat.

 

Regards,

Berndt

 

 

( If my comments are accepted, provide "Kudos" as appreciation. If your request is answered/resolved, please click the "Accept as Solution" button. Thanks.)
0 Likes