I just noticed that if dropping Truetype text to geometry then filled shapes do not honor view attribute fill setting. This actually is good feature and looking how to manually add such kind of independent fill for other elements. For example cells in cell library preview do not show fill so this would allows to show filled shapes in cell library preview.drop-text-fill.dgn
Hi,
I have problems with filled shapes not sensitive to the "fill" view attribute and I think this post treats the same topics.
A few months ago 2 colleagues worked on our border seed files and both created a company logo cell.Now I noticed that both logos behave differently as far as the filled surfaces are concerned.On one logo, the filled areas are not visible when the "fill" view is set to off and on the other logo the filled shapes are always filled.Unfortunately, I can not reproduce this, however I found out that a dropped text also behave exactly like this logo.
Now I want to know what causes this and how to create filled shapes which are always filled, even if the setting is switched off.Attached is a drawing with all the graphics and explanation regarding my observations and my questions.
I think that the explenations of Brien are the reason for this behavior.
Important for me is to know how create this type of permanently filled shapes......I have searched for informations on how realise this by MDL, but could not find help on this.
Could anyone tell me how this works with MDL?Is ther a MDL command to set the fill of shapes to permanently or what is meant whith "....can only be done programmatically.....you'd have to do this using mdl"?
Many Thanks
Best regards7635.Filled_Shapes.zipRaphael
Unknown said:I have searched for informations on how realise this by MDL
Post questions about MDL to the MicroStation Programming Forum. Remember to state which version of MicroStation you are using!
Unknown said:Setting an element's fill to always can only be done programmatically
You can set a closed element's fill mode using MDL, C++ or VBA. Here's VBA's MsdFillMode Enum...
MsdFillMode Enum
msdFillModeUseActive -1 msdFillModeNotFilled 0 msdFillModeFilled 1 msdFillModeOutlined 2
Regards, Jon Summers LA Solutions
Hi Jon,
oh sorry... I found this post by searching for fill topics and didn't realise that this was not in the programming forum.
I use MS V8i SS3
ThanksRegardsRaphael
Thanks for the Enumeration informations.
I have started a new post in the programmer forum:
https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/141614/mdl-vba-solution-for-permanent-fill-of-shapes-msdfillmode
Since I do not understand at the moment how this could work, I would be glad about every explanation and help.