PRINTING A FILE

Discuss and ask questions about CADViewX (Lite and Pro versions).

Moderators: SDS, support, admin

Post Reply
davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

PRINTING A FILE

Post by davide » 23 Nov 2007, 18:17

Hello!
I'm developing a software and I have a problem with CadViewX.
When I run a PrintPreview of the file i've loaded, i change the pen width in the "CAD Image" tab.
I see i can save the settings in a file with cws extension. During the session of my program the Cws file is loaded and, everytime i print something, settings are kept.
But if i close my program and re-open it, I have to reload the cws file manually.
Is there a possibility to load this cws file at the start of the program?

I hope it was clear.
Thank you,
Davide

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 26 Nov 2007, 10:28

Hello Davide,

Such functionality is unavailable for the moment.

Sergey.


Please post questions to the forum or write to support@cadsofttools.com

davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

Post by davide » 28 Nov 2007, 18:59

Is there a possibility to have an update in the future with this or similar functionality?
It is necessary for me, to save permanently pen width by color.
Thank you again!
Davide

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 29 Nov 2007, 12:26

Hello!

We would like to recommend the following:
<ul><li>download and install beta version of <b>CADViewX Pro</b>: http://www.cadsofttools.com/download/CADViewX_INI.zip ;</li>
<li>make necessary settings for pen width on the CADImage tab of Print Preview dialog; </li>
<li>use function <b>SaveToIni</b> to save current CADViewX settings;</li>
<li>use <b>LoadFromIni</b> function on ONLOAD event or somewhere else for loading previously saved settings.</li></ul>
Sergey.

Please post questions to the forum or write to support@cadsofttools.com

davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

Post by davide » 30 Nov 2007, 14:01

Hello Sergey!

I've downloaded and tried the beta version of CadViewX Pro.
Then functions you've mentioned above it's perfect.
I did the same steps you gave to me: i've saved the pen width and the configuration file ini. So, when i started the program i've loaded the file ini, but it doesn't work right. It doesn't load the settings i've saved.
Maybe the beta version is not yet ready.
I'd like to have some news about it, because i'm interested to buy the ActiveX but i need the "load ini" function to work correctly.
Thenk you,
Davide

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 03 Dec 2007, 15:20

Hello Davide,

What program language do you use?

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

Post by davide » 03 Dec 2007, 16:59

I've used first the english language, then i've tried with italian, but i've got the same results.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 03 Dec 2007, 17:07

No, Davide. It means what program environment do you use? Delphi, VB, C# or something else?

Sergey.


Please post questions to the forum or write to support@cadsofttools.com

davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

Post by davide » 03 Dec 2007, 17:34

Sorry,
i'm using Visual Basic 6!

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 05 Dec 2007, 12:41

Hello Davide,

Please find <b>[ColorWeight]</b> section in your *.ini file and give us its content after the settings for pen width on the CADImage tab of Print Preview dialog are made.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

Post by davide » 05 Dec 2007, 13:47

This is the save settings in demo.ini file.

[ColorWeight]
COLOR_2=0.3

(Note that i've tried with your demo VB program)

In CAD Image Options i set 0,30 for yellow, and you can see in the colorweight above that's right.
But when i load demo.ini it doesn't set nothing of that, i think the load function is wrong, because settings are saved right.

Thank you, Davide

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 05 Dec 2007, 18:17

OK, Davide.

We've got what the problem is. We will inform you about decision soon.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 06 Dec 2007, 14:08

Hello Davide,

Please try beta version of CADViewX Pro once again: http://www.cadsofttools.com/download/CADViewX_INI.zip

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

davide
Posts: 7
Joined: 23 Nov 2007, 17:02
Location: Italy

Post by davide » 12 Dec 2007, 13:50

Hello Sergey!
Ok, i'll try it!
I'll give you information about the results.
Davide

Post Reply