from pyNastran.bdf.bdf import BDF
# Create BDF object in pyNastran
model = BDF()
model.read_bdf('matrix_spring.dat')
dmig = model.dmigs.copy()
export = BDF()
# Export DMIG entries
export.add_dmig('KAAX', dmig['KAAX'].ifo, dmig['KAAX'].tin, dmig['KAAX'].tout,
dmig['KAAX'].polar, dmig['KAAX'].ncols, dmig['KAAX'].GCj, dmig['KAAX'].GCi,
dmig['KAAX'].Real, Complex=None, comment='Export DMIG Matrix')
export.write_bdf('dmig.bdf')--
You received this message because you are subscribed to the Google Groups "pyNastran Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.