API Panel results

API Panel results

alfredmx
Advocate Advocate
458 Views
2 Replies
Message 1 of 3

API Panel results

alfredmx
Advocate
Advocate

Hello,

 

I'm using the following code to extract results from panel nodes. Everything works ok except I'm not able to set the property "smoothing within a panel", and extracted results appear as if "global smoothing" option was selected. How do you change this? Regards,

 

For j = 1 To panelcoll.Count

 

Dim obj As IRobotObjObject

obj = panelcoll.Get(j)

 

Dim panelnum As Long

panelnum = obj.Number

 

Dim nodes As String

Dim nodesel As RobotSelection

Dim nodecoll As RobotNodeCollection

 

nodes = obj.Nodes

nodesel = robotapp.Project.Structure.Selections.Create(IRobotObjectType.I_OT_NODE)

nodesel.FromText(nodes)

nodecoll = robotapp.Project.Structure.Nodes.GetMany(nodesel)

 

Dim FEparams As New RobotFeResultParams

 

FEparams.Layer = IRobotFeLayerType.I_FLT_MIDDLE

FEparams.SetDirX(IRobotObjLocalXDirDefinitionType.I_OLXDDT_UNDEFINED, 0, 0, 0)

 

For k = 1 To nodecoll.Count

 

Dim node As IRobotNode

node = nodecoll.Get(k)

 

Dim nodenum As Long

nodenum = node.Number

FEparams.Node = node.Number

FEparams.Case = caso

 

Dim FEresults As RobotFeResultDetailed

FEresults = robotapp.Project.Structure.Results.FiniteElems.Detailed(FEparams)

 

Next

 

Next

 

 

0 Likes
459 Views
2 Replies
Replies (2)
Message 2 of 3

Rafal.Gaweda
Autodesk Support
Autodesk Support

Possible only for FeExtremValue, Maps, and Cuts.

See also:

http://forums.autodesk.com/t5/robot-structural-analysis/export-results-arsa-via-api/m-p/3560764#M649...



Rafal Gaweda
0 Likes
Message 3 of 3

alfredmx
Advocate
Advocate

Hello Rafal,

 

Thanks a lot for your help. I hope this can be added in futures releases, because in Robot "Plate and Shell results" table you have the ability to change "smoothing" property.

 

Regards, 

0 Likes