Author Topic: DXA analyze only selected particles  (Read 195 times)


  • Newbie
  • *
  • Posts: 1
DXA analyze only selected particles
« on: April 24, 2019, 04:17:03 PM »
Dear Alexander, Dear Dr. Kalcher,

I have a question regarding the DXA using python interface.
In the graphic interface it is possible to analyze only selected particles, but in the python interface there is no option for that (I could not find anything in the documentation).
Is there any possibility to do DXA on only selected atoms in the python interface?

Best regards,

Constanze Kalcher

  • Administrator
  • Sr. Member
  • *****
  • Posts: 301
Re: DXA analyze only selected particles
« Reply #1 on: April 24, 2019, 05:35:03 PM »
Dear Ray,

yes, if you're using the developer version, the DXA modifier has an attribute "only_selected".

Code: [Select]
modifier = DislocationAnalysisModifier()
modifier.only_selected = True