MicroStation Forum - Editing Line Style Scale of Elements Within Cell
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Editing Line Style Scale of Elements Within Cell

by
Joel Flasschoen
Created (Edited ) in MicroStation Forum

We have been using cells containing a few complex shapes that have set line style scales.  In MicroStation V8i we could select this cell in the active file, open the Element Information window, select individual elements within the cell, and edit those line style scales individually.

This same process is not possible in MicroStation CONNECT using the Properties window, as those attributes are grayed-out.  Is there a certain setting or some other way in MicroStation CONNECT of editing line style scales of individual elements within a cell without dropping the cell?

image


5 Replies ( Latest reply by
)

I guess I never knew that you could edit sub-elements of a complex shape, and I'm not surprised if that was written out in CONNECT. Can you change the linestyle scale of the actual complex shape (not the single line portion)? As in, go up one level and edit the properties of that?

Connect is bad software, especially considering how far along it is and how much cash I'm giving them.. Now I see there is Microstation 2023, I can hardly wait...........

I switched to Connect a long time ago (sucker), I manage to get my work done, but so many work arounds and frustration. Filed many a Service Ticket, rarely do I get a satisfactory resolution.

So...your complex element is made of lines with varying linestyles? I suspect that may be the problem?

Could you post a file that has just one of those complex shapes in it, and one of the cells that contain the complex shape, and maybe a dropped complex shape?

Unfortunately that is not an option under Extended because the complex shape is patterned with Line Style 0 that is not subject to the line style scale.

Custom VBA to loop through elements of the cell and apply the required scale factor. 

' Define and set the Line Style settings
Dim oParams As LineStyleParameters
Set oParams = oElement.GetLineStyleParameters

oParams.ScaleFactor = 0.5

oElement.SetLineStyleParameters oParams
oElement.Rewrite

Check sample codes link1, link2