filmov
tv
Excel to Microstation Connect - VBA - Lesson 6 - Adding Multiline from Excel

Показать описание
This code covers adding multiline from xl to microsation using vba
---------------------------------------------------------------
Sub multilinetext()
'Define variables
Dim myMSAppCon As MicroStationDGN.ApplicationObjectConnector
Dim mymsapp As MicroStationDGN.Application
Dim mytextnode As TextNodeElement
Dim OriginPoint As Point3d
Dim Rotmatrix As Matrix3d
'Dim myExcel As Excel.Application
Dim mysheet As Worksheet
ActiveSettings.TextStyle.NodeLineSpacing = 1
OriginPoint.x = 0: OriginPoint.Y = 0: OriginPoint.Z = 0
Set mytextnode = CreateTextNodeElement1(Nothing, OriginPoint, Rotmatrix)
mytextnode.AddTextLine "One"
mytextnode.AddTextLine "Two"
ActiveModelReference.AddElement mytextnode
End Sub
......................
Free music on the link below
Music: Glare On The Water by Vlad Gluschenko is licensed under a Creative Commons License.
---------------------------------------------------------------
Sub multilinetext()
'Define variables
Dim myMSAppCon As MicroStationDGN.ApplicationObjectConnector
Dim mymsapp As MicroStationDGN.Application
Dim mytextnode As TextNodeElement
Dim OriginPoint As Point3d
Dim Rotmatrix As Matrix3d
'Dim myExcel As Excel.Application
Dim mysheet As Worksheet
ActiveSettings.TextStyle.NodeLineSpacing = 1
OriginPoint.x = 0: OriginPoint.Y = 0: OriginPoint.Z = 0
Set mytextnode = CreateTextNodeElement1(Nothing, OriginPoint, Rotmatrix)
mytextnode.AddTextLine "One"
mytextnode.AddTextLine "Two"
ActiveModelReference.AddElement mytextnode
End Sub
......................
Free music on the link below
Music: Glare On The Water by Vlad Gluschenko is licensed under a Creative Commons License.
Microstation CONNECT Edition: How To Link An Excel Sheet
Microstation V8i - How To Link An Excel Sheet
Part 14 Placing a Table from Excel
MicroStation CONNECT Edition: How To Import Levels From Excel
Excel to Microstation Connect VBA - Lesson 1
Excel to Microstation Connect - VBA - Lesson 3 - Adding Table to Mircrostation from Excel -Advance
Excel to Microstation Connect - VBA - Lesson 5 - Export Text to XL - Text Style Check - CAD QA
How to import Text from Excel file in to Microstation Bentley V8
Easily Import Excel & Word Data into MicroStation!
ORD - MicroStation - 17.1 - Excel to OpenRoads Designer
Excel to Microstation Connect - VBA - Lesson 6 - Adding Multiline from Excel
19 Manage Item Types using Excel
Microstation VBA - Create Multiple Cells with Excel and Microstation VBA Userform
Microstation VBA - Microsoft Excel to Microstation
Excel to Microstation Connect - VBA - Lesson 4 - Multiple Find and Replace for Text.
How to import points Coordinate into Microstation from excel
MicroStation CONNECT Edition: How To Export Levels To Excel File
Axiom - Perfect Paste of Excel Data to MicroStation with Axiom's Microsoft Office Importer
M01_MicroStation MVBA Title Block Export & Import with Excel
Excel to Microstation Connect - VBA - Lesson 2 - Adding Texts - Beginners level
How To Place And Modify A Sheet Index Table
Managing title blocks - Excel to MicroStation Text
Axiom - How To Excel in AutoCAD and MicroStation Webinar
Microstation 004: Axiom - Attach Excel file to Design file
Комментарии