I have setup CE custom scales to be the same as V8i. There is an issue with none standard scales ie. 1:1250 these appear int eh list as CUSTOM
Below is a list of scales. The ones highlighted are the ones that are causing the issues. The same scales work OK in V8i
Hi Ian,
Format of the scales.def is changed MS Connect Edition. In Connect, we display scales in scale drop down based on the active model's unit system. In V8i scales.def has only Name & Scale whereas in Connect, it has Name, Scale & System. Name is used for display the scale factor in scale drop down. For standard scales, a special value"_[SYSTEM]_" is used to indicate that the program should use the standard builtin name. If we add any new scale, then we need to specify name(say "1:7500" for 75000:1 scale) we want to display in scale drop down.
So I am just giving an example for one scale.
1:75000; 75000:1; 2 # 1:75,000
Below is the details mentioned in Scales.def itself at top for the same.
# The active scales.def file is used to control the available list of scale factors
# displayed in the user interface.
#
# The format of this file consists of one scale definition per line, where the
# format of each line is:
# Name; PreScale:PostScale; UnitSystems
# Name:
# Used for display of the scale factor in the user interface. Use the special value "_[SYSTEM]_"
# to indicate that the program should use the standard builtin name.
# PreScale, PostScale:
# Defines the scale factor as the ratio of PreScale divided by PostScale.
# UnitSystems:
# Used to filter the list of scales. The user interface will typically use the active model's
# master units to control the visible scales. Only scales that specify a system that matches
# the system of the active model will be displayed. Multiple systems can be specified. If
# 1,2,3 is specified then the scale will not be filtered based on the system.
# Valid values for System are:
# 1 English (based on International Foot)
# 2 Metric
# 3 English (based on US Survey Foot)
# For each line any content following '#' is ignored.
Thanks
Mahendra
Extract from Mahendra :
"For standard scales, a special value"_[SYSTEM]_" is used to indicate that the program should use the standard builtin name. If we add any new scale, then we need to specify name(say "1:7500" for 75000:1 scale) we want to display in scale drop down."
Did you remove _[SYSTEM]_ from your custom scale lines ?
For Example:
_[SYSTEM]_ ; 100:1; 2 # 1:100
1:125 ; 125:1; 2 # 1:125
_[SYSTEM]_ ; 200:1; 2 # 1:200
If so then did you save and restart MicroStation also check the variable MS_CUSTOMSCALEDEF
6560.scales.def
Unknown said:scale.def
This is the first line of your scales.def file:
# This is a MicroStation V8 Scale Definition file.
Regards, Jon Summers LA Solutions
All
There are some serious issues with the scales.def file.
1. The delivered CE file does indeed state its V8. But its contents are CE... why?
2. The scales are related to the working units. ie
3. Try adding a custom scale in either section
# MicroStation Standard Scale Examples## Name Scale System#_[SYSTEM]_ ; 1:1; 1,2,3 # Full Size 1=1#_[SYSTEM]_ ; 2:1; 1,3 # 6"=1'-0"_[SYSTEM]_ ; 384:1; 1,3 # 1/32"=1'-0"_[SYSTEM]_ ; 120:1; 1,3 # 1"=10'_[SYSTEM]_ ; 6000:1; 1,3 # 1"=500'_[SYSTEM]_ ; 7200:1; 1,3 # 1"=600'_[SYSTEM]_ ; 12000:1; 1,3 # 1"=1000'
#Direct scale names_[SYSTEM]_ ; 3:1; 2 # 1:3_[SYSTEM]_ ; 12.5:1; 2 # 1:12.5
What I am trying to achieve is a scale list that is IOS specific and runs in order ie.
1:1
2:1
5:1
10:1
12.5:1 (this is none standard)
20:1
50:1
75:1 (this is none standard)
100:1
...
1250:1 (this is none standard)
etc
OK... its good to share...
Thank you Carl Myhill.....
Its important to understand whats different between the scales in V8i and CE.
1. Within CE the new scales.def tool is dependant on the files units. Thus, if the file is imperial it will only display imperial scales, if it is metric it will display the metric scales. This behaviour is different to V8i, where it didn't matter what units were set.
2. If you want custom sizes you have to remove the _[SYSTEM]_. Also it appears you have to get the spacing the same. (see below)
#Direct scale names
#1:1 1:1; 2 # 1:1
_[SYSTEM]_ ; 2:1; 2 # 1:2
_[SYSTEM]_ ; 5:1; 2 # 1:5
_[SYSTEM]_ ; 10:1; 2 # 1:10
1:12.5 ; 12.5:1; 2 # 1:12.5
_[SYSTEM]_ ; 20:1; 2 # 1:20
_[SYSTEM]_ ; 25:1; 2 # 1:25
_[SYSTEM]_ ; 50:1; 2 # 1:50
1:75 ; 75:1; 2 # 1:75
_[SYSTEM]_ ; 250:1; 2 # 1:250
_[SYSTEM]_ ; 400:1; 2 # 1:400
_[SYSTEM]_ ; 500:1; 2 # 1:500
1:750 ; 750:1; 2 # 1:750
3. If you want metric scales in the imperial file, you have to add the scales to the imperial section
HTH
Ian