Hey Zilla,
I'm not exactly sure what you're trying to do but I've written a short example that hopefully does something similar. It may not be the most efficient example but it should get you started. I assumed that by line width you're referring to the width of a plot on a graph in DIAdem Report. The following code changes the width of three plots on two graphs each on different sheets. The code is pasted below. I'm attaching the report template I used. It uses the default DIAdem dataset. If you have a different report the object names may be different. (The report template was created in DIAdem 9.1)
Call GraphSheetNGet(2)
Call GraphSheetRefSet(GraphSheetName)
Call GRAPHObjOpen("2DAxis1")
for i=1 to 3
Call GRAPHObjOpen("2DObj1_Curve" + s
tr(i))
D2CURVELINEWIDTH ="35.0"
Call GRAPHObjClose("2DObj1_Curve" + str(i))
next
Call GRAPHObjClose("2DAxis1")
Call GraphSheetNGet(1)
Call GraphSheetRefSet(GraphSheetName)
Call GRAPHObjOpen("2DAxis1")
for i=1 to 3
Call GRAPHObjOpen("2DObj2_Curve" + str(i))
D2CURVELINEWIDTH ="35.0"
Call GRAPHObjClose("2DObj2_Curve" + str(i))
next
Call GRAPHObjClose("2DAxis1")
Call Picupdate
I hope this helps!! If this isn't what you're trying to do please post back with more information so I can try to help.
Regards,
Sarah Miracle
National Instruments