🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

7 total messages Started by b0bik Sat, 05 Mar 2011 17:58
PD V8, CreateTextElement1 i znikające teksty
#53655
Author: b0bik
Date: Sat, 05 Mar 2011 17:58
39 lines
2661 bytes
Witam

Nie wgryzłem się jeszcze szczegółowo w problem, ale coś mi nie gra
przy tworzeniu tekstów przez VBA w PowerDraft V8. Objaw jest bardzo
dziwny, np jak mam małe powiększenie, to niby teksty widać, ale jak
przybliżę to znikają. Albo jest tak że tekst niby jest, bo jak się
przejeżdza myszą to w pasku statusu pokazuje że to element type Text a
go nie widać. Na początku myślałem że to sprawka polskich znaków i
czcionki Arial, była pewna prawidłowość że bez ogonków nie ma
problemów, ale potem już przestała występować. Teksty wstawiam chyba
klasycznie:


    Dim Inp As New TInParams
    Dim e As TextElement
    For i = 0 To Inp.PointsCount - 1
        For j = 0 To UBound(Inp.Points(i).Points)
            Set e = CreateTextElement1(Nothing, Inp.Texts(i),
Inp.Points(i).Points(j), Matrix3dIdentity)
            ApplyAttrs e, Inp
            ActiveModelReference.AddElement e
            ApplyTextAttrs e, Inp
            e.Rewrite
        Next
    Next

Inp - to jest obiekt który odczytuje plik gdzie znajdują się
współrzędne i punkty. Plik jest tekstowy.
ApplyAttrs i ApplyTextAttrs ustawiają parametry takie jak czcionka,
kolor warstwa ...

Czy spotkał się ktoś z czymś podobnym ? PowerDraft w wersji świeżej -
dzisiaj ściągałem. System XP x86.

Aha, jak się próbuje ten niewidoczny tekst zaznaczyć, to bardzo często
cały PD się wywala z komunikatem że fatal erro occured, ale jak na
złość teraz się nie chce wywalić - bo bym wkleił dokładny tekst.

b
Re: PD V8, CreateTextElement1 i znikające teksty
#53656
Author: b0bik
Date: Sat, 05 Mar 2011 18:23
511 lines
25680 bytes
O udało się:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Bentley.MicroStation.Exceptions.Exception: Cannot create TextBlock
from Element.
   at Bentley.Internal.MicroStation.Elements.Text.get_Document()
   at Bentley.Internal.MicroStation.Elements.Text.get_IsSimpleString()
   at
Bentley.Properties.TextProperties.TextPropertyEnabler.TextPropertyReadOnlyDelegate(Object
instanceDataIn, Object propertyDataIn, Int32 arrayIndex,
IECPropertyValue propVal)
   at Bentley.ECObjects.Lightweight.LightweightType.IsReadOnly(Object
instanceData, Object propertyData, Int32 arrayIndex, IECPropertyValue
propVal)
   at Bentley.ECObjects.Lightweight.LightweightValue.get_IsReadOnly()
   at
Bentley.ECObjects.UI.ECMultiInstancePropertyAdapter.AddMemberProperties(IECValueContainer
valueContainer, ECInstanceListSet objectSet, Int32 instanceNumber)
   at
Bentley.ECObjects.UI.ECMultiInstancePropertyAdapter.AddPropertiesInInstanceList(ECInstanceList
instanceList, ECInstanceListSet objectSet, Boolean
differingInstanceLists)
   at
Bentley.ECObjects.UI.ECMultiInstancePropertyAdapter.GetTypeDescriptors()
   at Bentley.ECObjects.UI.ECPropertyPane.ShowInstanceLists()
   at
Bentley.ECObjects.UI.ECPropertyPane.SetInstanceListSet(ECInstanceListSet
instanceListSetLeft, ECInstanceListSet instanceListSetRight)
   at
Bentley.ECObjects.UI.ECPropertyPane.SetInstanceListSet(ECInstanceListSet
instanceListSet)
   at Bentley.DesignExplorer.NavigatorPropertyGrid.Reload()
   at
Bentley.DesignExplorer.NavigatorPropertyGrid.OnReloadTimeout(Object
senderIn, EventArgs eventArgsIn)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Bentley.PowerPlatform.FeatureAspects
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Bentley.PowerPlatform.FeatureAspects.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.4053
    Win32 Version: 8.00.50727.4053
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989/msvcm80.dll
----------------------------------------
ustation
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/ustation.DLL
----------------------------------------
Bentley.General.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.General.1.0.DLL
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Bentley.MicroStation.Interfaces.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.Interfaces.1.0.DLL
----------------------------------------
Bentley.MicroStation.XmlObjectModels
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.XmlObjectModels.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Bentley.PowerPlatform.FeatureAspects.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.PowerPlatform.FeatureAspects.resources.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.ApplicationBlocks.ExceptionManagement.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 01.00.00.01
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Microsoft.ApplicationBlocks.ExceptionManagement.1.0.DLL
----------------------------------------
Bentley.DialogManager
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.DialogManager.DLL
----------------------------------------
MdlSeed
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/MdlSeed.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
markup
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/required/markup.DLL
----------------------------------------
Bentley.logging-2.0
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.03.05
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.logging-2.0.DLL
----------------------------------------
Bentley.ECXAttributes
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.ECXAttributes.DLL
----------------------------------------
Bentley.ECObjects.2.0
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.409
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.ECObjects.2.0.DLL
----------------------------------------
Bentley.Platform
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.Platform.DLL
----------------------------------------
Bentley.Geometry.Common.1.0
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.Geometry.Common.1.0.DLL
----------------------------------------
Bentley.Units
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.Units.DLL
----------------------------------------
Bentley.Exceptions
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.Exceptions.DLL
----------------------------------------
mptools
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/required/mptools.DLL
----------------------------------------
Bentley.DesignlinksHandler
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/required/Bentley.DesignlinksHandler.DLL
----------------------------------------
Bentley.UI
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.UI.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.4506.3636 (GDR.030729-3600)
    CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Bentley.MicroStation.Templates
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.Templates.DLL
----------------------------------------
Bentley.MicroStation.Templates.Support
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.Templates.Support.DLL
----------------------------------------
Bentley.MicroStation
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.DLL
----------------------------------------
Bentley.MicroStation.Templates.Support.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.MicroStation.Templates.Support.resources.DLL
----------------------------------------
Bentley.MicroStation.WinForms.ECPropertyPane
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.WinForms.ECPropertyPane.DLL
----------------------------------------
Bentley.MicroStation.WinForms.Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.WinForms.Controls.DLL
----------------------------------------
Bentley.MicroStation.MaterialControl
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.MaterialControl.DLL
----------------------------------------
Bentley.Geometry.2.0
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.Geometry.2.0.DLL
----------------------------------------
Bentley.ExpressionEvaluator
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.ExpressionEvaluator.DLL
----------------------------------------
Bentley.MicroStation.GeoCoord
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.GeoCoord.DLL
----------------------------------------
GCSDialog
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/GCSDialog.DLL
----------------------------------------
Bentley.Windowing
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.Windowing.DLL
----------------------------------------
Bentley.MicroStation.WinForms.Docking
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.WinForms.Docking.DLL
----------------------------------------
Bentley.Windowing.Win32
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.Windowing.Win32.DLL
----------------------------------------
Bentley.TaskNavigation
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.TaskNavigation.DLL
----------------------------------------
Bentley.TaskNavigation.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.TaskNavigation.resources.DLL
----------------------------------------
Bentley.PropertyManager
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.PropertyManager.DLL
----------------------------------------
Bentley.Designlinks
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/Bentley.Designlinks.DLL
----------------------------------------
Bentley.PropertyManager.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.PropertyManager.resources.DLL
----------------------------------------
Bentley.ECXAttributesAddIn
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/bentley.ecxattributesaddin.DLL
----------------------------------------
Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.3053
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
Bentley.Properties.ElementHandlerPropertiesEnabler
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.Properties.ElementHandlerPropertiesEnabler.DLL
----------------------------------------
Bentley.PointCloud
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.PointCloud.DLL
----------------------------------------
bentley.designexplorer.elementexplorer
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/bentley.designexplorer.elementexplorer.DLL
----------------------------------------
Bentley.PointCloud.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.PointCloud.resources.DLL
----------------------------------------
Bentley.RasterPropertiesEnabler
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/bentley.rasterpropertiesenabler.DLL
----------------------------------------
kmlplacemark
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/kmlplacemark.DLL
----------------------------------------
Bentley.UI.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.UI.resources.DLL
----------------------------------------
ElementInfo
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/required/elementinfo.DLL
----------------------------------------
bentley.designexplorer
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/bentley.designexplorer.DLL
----------------------------------------
DetSymbEnabler
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/DETSYMBENABLER.DLL
----------------------------------------
Bentley.MicroStation.General
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.General.DLL
----------------------------------------
bentley.designexplorer.elementexplorer.markupsvhandler
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/bentley.designexplorer.elementexplorer.markupsvhandler.DLL
----------------------------------------
ElementInfo.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/ElementInfo.resources.DLL
----------------------------------------
bentley.designexplorer.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/bentley.designexplorer.resources.DLL
----------------------------------------
bentley.designexplorer.elementexplorer.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/bentley.designexplorer.elementexplorer.resources.DLL
----------------------------------------
Bentley.ECObjects.2.0.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.409
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.ECObjects.2.0.resources.DLL
----------------------------------------
Bentley.RasterPropertiesEnabler.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.RasterPropertiesEnabler.resources.DLL
----------------------------------------
Bentley.Geometry.Convert.2.0
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.403
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.Geometry.Convert.2.0.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
TextStyle
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/TextStyle.DLL
----------------------------------------
SymbolSelector
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/symbolselector.DLL
----------------------------------------
SymbolSelector.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/SymbolSelector.resources.DLL
----------------------------------------
plotdlg
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/mdlsys/asneeded/plotdlg.DLL
----------------------------------------
Bentley.MicroStation.PrintManager
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.PrintManager.DLL
----------------------------------------
Bentley.MicroStation.PrintFoundation
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.PrintFoundation.DLL
----------------------------------------
Bentley.MicroStation.PrintAPI
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.PrintAPI.DLL
----------------------------------------
Bentley.PrintTools
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase: file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.PrintTools.DLL
----------------------------------------
Bentley.MicroStation.PrintFoundation.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/en/Bentley.MicroStation.PrintFoundation.resources.DLL
----------------------------------------
Bentley.MicroStation.PrintCadDefinition
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.PrintCadDefinition.DLL
----------------------------------------
Bentley.ECSystem.2.0
    Assembly Version: 2.0.0.0
    Win32 Version: 08.11.07.409
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/ECFramework/Bentley.ECSystem.2.0.DLL
----------------------------------------
Bentley.MicroStation.PrintEngine
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.PrintEngine.DLL
----------------------------------------
Bentley.MicroStation.PrintCadHandler
    Assembly Version: 1.0.0.0
    Win32 Version: 08.11.07.460
    CodeBase:
file:///C:/Program%20Files/Bentley/PowerDraft%20V8i%20Academic/PowerDraft/Assemblies/Bentley.MicroStation.PrintCadHandler.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Re: PD V8, CreateTextElement1 i znikające teksty
#53657
Author: Michal Baranski
Date: Mon, 07 Mar 2011 20:44
16 lines
1835 bytes
Użytkownik b0bik napisał:
> Witam
[...]
> Aha, jak się próbuje ten niewidoczny tekst zaznaczyć, to bardzo często
> cały PD się wywala z komunikatem że fatal erro occured, ale jak na
> złość teraz się nie chce wywalić - bo bym wkleił dokładny tekst.
>
> b

Nie piszę w Basicu ani VBA.
Co do wywalania dotNETa to przyczyna jest prosta, gdy tekst jest długość 
zerowej to się wywala, przy wczytywaniu sprawdź zanim wstawisz.
Druga sprawa to ustawiaj stronę kodową, bo będziesz miał różne efekty 
uboczne.
Pozdrawiam
Michał
Re: PD V8, CreateTextElement1 i znikające teksty
#53658
Author: b0bik
Date: Wed, 09 Mar 2011 19:26
34 lines
2372 bytes
On 7 Mar, 21:44, Michal Baranski <micha...@poczta.onet.pl> wrote:
> U ytkownik b0bik napisa :
>
> > Witam
> [...]
> > Aha, jak si pr buje ten niewidoczny tekst zaznaczy , to bardzo cz sto
> > ca y PD si wywala z komunikatem e fatal erro occured, ale jak na
> > z o teraz si nie chce wywali - bo bym wklei dok adny tekst.
>
> > b
>
> Nie pisz w Basicu ani VBA.
> Co do wywalania dotNETa to przyczyna jest prosta, gdy tekst jest d ugo
> zerowej to si wywala, przy wczytywaniu sprawd zanim wstawisz.
> Druga sprawa to ustawiaj stron kodow , bo b dziesz mia r ne efekty
> uboczne.
> Pozdrawiam
> Micha

Generalnie te teksty nie są zerowej długości, chyba że masz na myśli
jakieś właściwości geometryczne ? Teksty po prostu jakieś są, a przy
ich wstawianiu określam tylko 1 punkt geometryczny - punkt wstawienia.


> Druga sprawa to ustawiaj stron kodow , bo b dziesz mia r ne efekty
> uboczne.


No też właśnie zastanawiam się jak to z tym jest przy zaczytywaniu
pliku tekstowego przez VBA. Możesz mi podpowiedzieć gdzie szukać opcji
związanych z tym ustawieniem strony kodowej ?

Pozdrawiam
b
Re: PD V8, CreateTextElement1 i znikające teksty
#53659
Author: Michal Baranski
Date: Thu, 10 Mar 2011 18:25
26 lines
2059 bytes
Użytkownik b0bik napisał:
[...]
> Generalnie te teksty nie są zerowej długości, chyba że masz na myśli
> jakieś właściwości geometryczne ? Teksty po prostu jakieś są, a przy
> ich wstawianiu określam tylko 1 punkt geometryczny - punkt wstawienia.

sprawdza długość dla pewności

>
>> Druga sprawa to ustawiaj stron kodow , bo b dziesz mia r ne efekty
>> uboczne.
>
>
> No też właśnie zastanawiam się jak to z tym jest przy zaczytywaniu
> pliku tekstowego przez VBA. Możesz mi podpowiedzieć gdzie szukać opcji
> związanych z tym ustawieniem strony kodowej ?
>
> Pozdrawiam
> b

mdlText_setTextParamWideCodePage

Jeśli w dgn-ie jest uszkodzony element to różne rzeczy mogą się dziać, 
ale nie zawsze.
Pozdrawiam
Michał
Re: PD V8, CreateTextElement1 i znikające teksty
#53660
Author: b0bik
Date: Fri, 11 Mar 2011 18:41
17 lines
1952 bytes
On 10 Mar, 19:25, Michal Baranski <micha...@poczta.onet.pl> wrote:

> sprawdza d ugo dla pewno ci

O jaką długość Ci chodzi, np tekst 'ala' ma długość 3 - o taką ?

> mdlText_setTextParamWideCodePage

Hmm, czyli tylko MDL czy w VBA też jest jakiś odpowiednik ?

> Je li w dgn-ie jest uszkodzony element to r ne rzeczy mog si dzia ,
> ale nie zawsze.

No właśnie tak się zastanawiam, czy to nie jest kwestia już
uszkodzonego pliku. Czasem założenie nowego pomaga.

b
Re: PD V8, CreateTextElement1 i znikające teksty
#53661
Author: Michal Baranski
Date: Fri, 11 Mar 2011 21:19
26 lines
2176 bytes
Użytkownik b0bik napisał:
> On 10 Mar, 19:25, Michal Baranski<micha...@poczta.onet.pl>  wrote:
>
>> sprawdza d ugo dla pewno ci
>
> O jaką długość Ci chodzi, np tekst 'ala' ma długość 3 - o taką ?

o to mi chodzi, graficzna długość nie ma znaczenia

>> mdlText_setTextParamWideCodePage
>
> Hmm, czyli tylko MDL czy w VBA też jest jakiś odpowiednik ?
wiem że jest w helpie do MDL, funkcja opisana jest do obu
[..]
> No właśnie tak się zastanawiam, czy to nie jest kwestia już
> uszkodzonego pliku. Czasem założenie nowego pomaga.
>
> b

przekopiuj z reference-a, uszkodzone elementy skopiują się jako poprawne 
lub nie pojawią się w nowym pliku

Inna metoda na oczyszczenie ze śmieci jest compress i ustawione 
parametry dla tekstu
Pozdrawiam
Michał
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads