Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

RE: [CONNECT C++] unresolved external symbol

[quote user="Jon Summers"]While Jan's answer is perfectly correct, do we really want to use dumpbineach time we want to know what to link?  It would be better if the MicroStationAPI documentation were...

View Article


RE: [V8i SS3 C#] ChangeTracking and Element-Templates

Hi Harmen,[quote user="Harmen gro�e Deters"]as an XAttribute as I understand[/quote]Yes, it's correct .... in fact the most of settings and internal data are now stored as XAttributes.[quote...

View Article


RE: Displaying levels in attachment using OpenDesignForProgramming

Hi James,[quote user="James Manfield"]Can anyone provide any tips where I am going wrong?[/quote]I am not quite sure, but I recommend to evaluate simple scenarios first. So I think you should to test...

View Article

Image may be NSFW.
Clik here to view.

RE: Displaying levels in attachment using OpenDesignForProgramming

[quote user="James Manfield"]What I am trying to do is create a vba script which runs through a number of subfolders, opens the dgn files in them and displays all levels in a specific reference...

View Article

RE: 使用Fence操作编辑dgn元素时,程序执行无响应的问题。

特殊情况是指,在有些dgn中正常执行,而在有些dgn中执行无响应(不清楚是否是因为执行所需时间过长,但在回调函数加断点发现还未进入回调函数就已经未响应)。若注释掉mdlFence_process函数,可以发现能够成功生成一个Fence。

View Article


使用Fence操作编辑dgn元素时,程序执行无响应的问题。

本人想使用代码实现对某个视图窗口中的所有元素的复制以及编辑操作,使用了以下的代码:mdlFence_fromView(0);mdlParams_setLock(0, ACTIVELOCK_FENCEVOID);mdlParams_setLock(1, ACTIVELOCK_FENCECLIP);mdlState_startFenceCommand(editElementAtFence, NULL,...

View Article

RE: Displaying levels in attachment using OpenDesignForProgramming

Hi Jan, thanks for the response."I am not quite sure, but I recommend to evaluate simple scenarios first. So I think you should to test your code in MicroStation for one design file with some...

View Article

RE: Displaying levels in attachment using OpenDesignForProgramming

Hi Jon"Set myDGN = oMSAPP.OpenDesignFile (FSOFile.Path, False)"I ran the code again with this modification but it made no difference to the result. All that happened was that each file was opened in a...

View Article


RE: Displaying levels in attachment using OpenDesignForProgramming

[quote user="James Manfield"]For Each oAttachment In myDGN.Models("Drawing").Attachments[/quote]There are two tests in that line.  The explicit test is whether a model named Drawing exists.  The...

View Article


RE: Displaying levels in attachment using OpenDesignForProgramming

Thanks Jon, this will no doubt come in very useful.

View Article

RE: Displaying levels in attachment using OpenDesignForProgramming

Hi James,this code works for active model:Option Explicit ' Application entry point Public Sub FindLevelsInReferences() MessageCenter.AddMessage "--- Levels in references ---", "",...

View Article

RE: [V8i SS3 C#] ChangeTracking and Element-Templates

That works - great advice! Do you know if the HandlerIds of XAttributes are defined somewhere ? How could I know that a xattribute change is a elemente template change? However, thank you!

View Article

RE: Displaying levels in attachment using OpenDesignForProgramming

[quote user="James Manfield"]displays all levels in a specific reference attachment ("3D-modell") in a specific model ("Drawings")[/quote]James, is "Drawings" (or "Drawing" as you actually use in the...

View Article


RE: Displaying levels in attachment using OpenDesignForProgramming

Hi Jan,Thanks again for this.  My code works as long as I'm running it in the active model.  For below is the test code which I used to check. What I need to do is modify this so that I can iterate...

View Article

Image may be NSFW.
Clik here to view.

RE: Displaying levels in attachment using OpenDesignForProgramming

Hi Barry.Sorry for the lack of clarity.  I will explain (hopefully) a little more clearly.  I have several hundred files each containing three models; "3D-modell", "Drawing" and "Ritdef".  The...

View Article


RE: Displaying levels in attachment using OpenDesignForProgramming

Hi James,it seems you are mixing two different issues / tasks that would become confusing easily...[quote user="James Manfield"]What I need to do is modify this so that I can iterate through the three...

View Article

RE: Displaying levels in attachment using OpenDesignForProgramming

[quote user="James Manfield"]I ran the code again with this modification but it made no difference to the result. [/quote]How can you be sure: there are numerous ways in which the active model (from...

View Article


Displaying levels in attachment using OpenDesignForProgramming

HI guys,I'm sorry if this is a silly question but it has been driving me mad.  I'm sure that I have made a basic mistake, but for the life of me, I cant see what it is. What I am trying to do is create...

View Article

RE: [V8i C++] Detecting SELECTSeries 3 at run-time

Hi Piers,in my opinion several different but closely related topics are mentioned in your post and they should be discussed separately. Also I guess there is no one simple answer, because how to put...

View Article

Image may be NSFW.
Clik here to view.

RE: Displaying levels in attachment using OpenDesignForProgramming

[quote user="James Manfield"]Hi Barry.Sorry for the lack of clarity.  I will explain (hopefully) a little more clearly.  I have several hundred files each containing three models; "3D-modell",...

View Article
Browsing all 7260 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>