取消
显示结果 
搜索替代 
您的意思是: 

Copy 2D Axis system Display using script

Help.....Can we Copy all the selected entires of 2D axis system Dispaly using Diadem script for comparing data of two input file

0 项奖励
1 条消息(共 9 条)
7,187 次查看

Hi junkjunk,

 

You can interactively copy one or more curve configurations in the 2D Axis System Configuration dialog.  You can interactively copy a graph in REPORT by right-clicking on it and choosing the "Copy" menu, then right-clicking somewhere and choosing the "Paste" menu.  You can interactively copy an entire REPORT sheet by right-clicking on that sheet name and choosing the "Copy..." menu.

 

Or did you want to copy programmatically?

Brad Turpin

DIAdem Product Support Engineer
National Instrument

0 项奖励
2 条消息(共 9 条)
7,164 次查看

Thanks Brad...But i want it to be done using script ....i have two reports that mostly display same type of 2Daxis graph but from two differnt input files so they must be shown in one single report.

for testing them side by side using script...how can i do "copy entry" in curve list of 2Daxis using script

0 项奖励
3 条消息(共 9 条)
7,158 次查看

Hi junkjunk,

 

I don't know of an easy way to copy curves.  Could you make a version of the TDR file that has the curves manually copied and simply assign the correct X and Y channels to each curve programmatically?  The only way I know to copy curves is to create new curves and laboriously assign all the curve properties (that you care about) of the new curves to be the same as those of the old curves, and there are easily 50 or more of those.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 项奖励
4 条消息(共 9 条)
7,131 次查看

Hello,

i need to copy whole 2DAxis object. When i right click on it, there is a "copy" option, but i cant find that option in script mode, there is only one function on the axis object i found and its "ExportToImage()" which creates a file, i just need to copy it to clipboard.

I know i can copy whole sheet by "ExportToClipboard", but its not that case, because i just need that axis. Is it possible by script?

 

0 项奖励
5 条消息(共 9 条)
4,287 次查看

Hello Lukas,

the method you are looking for is part of the  "Objects" list e.g. here : Report.ActiveSheet.Objects.Copy

Hope that helps

6 条消息(共 9 条)
4,261 次查看

Hi, thanks for help. but it didnt help me, because i wrote i need to copy the axis object TO CLIPBOARD, not to duplicate the object on the sheet. My goal is to copy only the axis and export it to powerpoint. i can do that on whole sheet as i wrote, but for a single axis, i cant find how to do it.

0 项奖励
7 条消息(共 9 条)
4,251 次查看

Hello Lukas,

OK, that's a different requirement. In that case you only have the option to export the image of that 2D axis system to an image file using the "ExportToImage" method available for the objects. And then you have to use the Powerpoint ActiveX-API to insert the image to a PowerPoint file.

Hope that helps.

 

8 条消息(共 9 条)
4,246 次查看

Thanks, i was thinking of doing it like this, so if there is no copy function for that case, i will do it like this.

0 项奖励
9 条消息(共 9 条)
4,244 次查看