Is there a way to define a customized Line Style such as "LinePixels" #680
-
iModelJs defines some line styles in export declare enum LinePixels {…} that can be used out of the box My question is: Is there a way to define a customized Line Style "LinePixels" ? I am happy if you can give me some hint or example |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
There is currently no way to define your own |
Beta Was this translation helpful? Give feedback.
-
Such as [LinePixels.Code1, LinePixels.Code2, LinePixels.Code3, LinePixels.Code4, LinePixels.Code5, LinePixels.Code6, LinePixels.Code7]; but e.g. LinePixels.Code1 that means "1 lit pixel followed by 7 unlit pixels" i want LinePixels.CodeNLit_MUnlit ""N lit pixel followed by M unlit pixels" totally customized |
Beta Was this translation helpful? Give feedback.
-
Yes, I am asking "for what purpose"? Why do you want this? |
Beta Was this translation helpful? Give feedback.
-
We do import from DEXPI or autocad and want to draw the lines in iModelJs exactly as the custom lines |
Beta Was this translation helpful? Give feedback.
-
e.g. Solid = "", |
Beta Was this translation helpful? Give feedback.
-
We convert the dash lines of the autocad & DEXPI to these StrokeDashArray and want to draw them the same in iModelJs Design Review. The definition of StrokeDashArray, as you know, can be extended & modified in the future |
Beta Was this translation helpful? Give feedback.
We convert the dash lines of the autocad & DEXPI to these StrokeDashArray and want to draw them the same in iModelJs Design Review. The definition of StrokeDashArray, as you know, can be extended & modified in the future