Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For registration and login issues contact website support.

Support Ticket System is replacing forum

This forum was converted into a searchable archive. You cannot add posts here any more. For support please use our new Ticket System.

Create your first ticket
scale/autoscale for mview_param?
To watch this topic for replies  Register (enables digests) or give email address:
This topic is locked: you cannot edit posts or make replies.
Display posts from previous:   
    View previous topic :: View next topic    
Author Message
Michiel

Joined: 23 Jan 2004
Posts: 136

View user's profile

Back to top
Link to postPosted: Mon Mar 16, 2009 2:19 pmPost subject: scale/autoscale for mview_param? Reply with quote

I want to control the scale of a single molecule displayed in a single MView  window, so the table scale/zoom options don't apply (in fact the browser crashes when I try).

I'm looking for the corresponding options in MView from MSketch:


Code:
          msketch_param("scale", 28);
          msketch_param("autoscale", "false");



I can't find any docs/discussions on this topic.

Does the feature exist by another name?

I'm trying to have one editable (MSketch) and one non-editable (MView) window side-by-side in an HTML table. For it to look consistent, I have to scale the structures in the same fashion. How do I achieve that?




Product Version:    MarvinView 5.1.4
Build Date:        2008-12-18
Operating System:    x86 Windows XP 5.1
Java:        Sun Microsystems Inc. Java 1.6.0_12
Memory:        63.6M maximum, 56.2M total, 22.6M free
Environment:    Trusted Applet (with administrator rights)



 Filename: 2009-03-16_091637.jpg    Filesize: 27.2 KB    Viewed: 6008 Time(s)
 Description:  MSketch at left/MView at right
2009-03-16_091637.jpg
Tamas
ChemAxon personnel
Joined: 21 May 2004
Posts: 2171

View user's profile

Back to top
Link to postPosted: Mon Mar 16, 2009 7:18 pmPost subject: Reply with quote

The "scale" parameter works in MarvinSketch applet. The following example demonstrates it (autoscale is needless in this case):
http://www.chemaxon.com/test/msketch-scale.html
Michiel

Joined: 23 Jan 2004
Posts: 136

View user's profile

Back to top
Link to postPosted: Mon Mar 16, 2009 8:15 pmPost subject: Reply with quote

Quote:
The "scale" parameter works in MarvinSketch applet. The following example demonstrates it (autoscale is needless in this case):
http://www.chemaxon.com/test/msketch-scale.html


I know it works in MSketch. I need the equivalent for MView. As far as I can tell mview_param("scale", "28"); doesn't work and is not documented. Small molecules get blown up (autoscaled?) too much for what I need the app to do.
Tamas
ChemAxon personnel
Joined: 21 May 2004
Posts: 2171

View user's profile

Back to top
Link to postPosted: Mon Mar 16, 2009 9:02 pmPost subject: Reply with quote

Sorry, I did not read carefully your question.

In MarvinView, "scale" parameter does not exist. Instead of that, use tabScale and winScale parameters.
My experience that "tabScale" does not work properly in current release. We will check why.
Judit
ChemAxon personnel
Joined: 04 Nov 2004
Posts: 612

View user's profile

Back to top
Link to postPosted: Wed Mar 18, 2009 10:58 amPost subject: Reply with quote

We also registered the request for a maxscale parameter similarly to that of msketch.
Judit
ChemAxon personnel
Joined: 04 Nov 2004
Posts: 612

View user's profile

Back to top
Link to postPosted: Tue Mar 09, 2010 4:37 pmPost subject: Reply with quote

Correction in my previous post: the maxScale parameter is not necessary in mview, because the tabScale parameter prevents overscaling small molecules.

We fixed the problem with the tabScale parameter, the fix will be released end-March (5.3.2).

You will need to use

mview_param("tabscale", 28);
This topic is locked: you cannot edit posts or make replies.
Page 1 of 1


To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum