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

RE: tag definition or tagset

[quote user="blumax57"]How can I do to bring in 0_nome LBoundand 8_dev in UBound?[/quote]I agree that it's annoying when VBA decides how to organise your data!An alternative to an array would be a...

View Article


RE: [Connect C++] Attach reference file including a raster attachment

Hi Evan,I was able to reproduce this issue and while investigating this issue we tested different WriteToModel signatures:WriteToModel (bool loadRasterRefs = false, bool treatAsNew = false);Please try...

View Article


RE: [CONNECT C#] Yet another create cell question

You cant mix the two APIs that I am aware of, so in my opinion the Interop solution is no good unless you are trying to do something simple.Also, I have not found a way of passing an element from MDL...

View Article

RE: [CONNECT C#] Yet another create cell question

[quote user="Maury"]You cant mix the two APIs that I am aware of[/quote]My feeling is the same and it makes sense in my opinion: The new API is I guess direct wrapper around native, but Interop is...

View Article

RE: tag definition or tagset

Hi Massimo,[quote user="blumax57"]I thought that by adding an entry this was the last[/quote]the problem is that you expect a behaviour that is not defined. MicroStation tags have not defined order,...

View Article


tag definition or tagset

good morningI often work with the tags associated with cellsI have a Tagset set as an attachment file  ("7_tag.tlb" )with these tags0_nome1_est2_nord3_quota4_codice5_descrizione6_prof7_altezza UBoundI...

View Article

RE: tag definition or tagset

good morningthanks for the answersmy problems are two:1) allocated to cell tagbefore adding eighth tag worked this ActiveModelReference.SelectElement cella Set oHost = cella If (oHost.HasAnyTags) Then...

View Article

RE: tag definition or tagset

Hi Massimo, in my opinion there is one problem only and it's a wrong code written based on not correct assumption. There is nothing like "an order of tags in tag set" and you cannot use it anywhere. It...

View Article


RE: tag definition or tagset

I add one thing  I tried assigning values to tag with TAgDefinitioName instead of tags (0) .. tags (1) and this workssee attached drawing and macro(Please visit the site to view this file)(Please visit...

View Article


RE: tag definition or tagset

One more note: I have not tested it, but I am quite sure if you use MicroStation V8 XM Edition or newer, no element redraw is required. If an element is displayed, it should be redisplayed...

View Article

RE: tag definition or tagset

Janyou're right, I do not need to have in order tagsi need to work with the namesI do not know why I have reflected on this problemthank youfor clarification

View Article

RE: tag definition or tagset

Again, one more note ;-)I have a problem with your code, because it's a bit ugly and dirty in my opinion, especially because it breaks DRY rule (Dont Repeat Yourself): To do the same thing (to rewrite...

View Article

RE: tag definition or tagset

JanI'm not a programmerany suggestions for me is goodI personally prefer the second methodI used method Select CaseI do not know why use anything else :)now I understand how to doevery day I learn...

View Article


RE: tag definition or tagset

[quote user="blumax57"]I used method Select CaseI do not know why use anything else :)[/quote]Well, it's not easy to explain it ... as anything what is treated as "best practices" in a particular...

View Article

RE: [CONNECT C++] ElementAgenda, IElementSet

> IElementSet and ElementAgenda appear to serve the same purpose They don't. ElementAgenda gives you EditElementHandles; IElementSet gives you ElementHandles. IElementSet is purposely opaque (user...

View Article


RE: [CONNECT C++] ElementAgenda, IElementSet

[quote user="Paul Connelly"]Build an IElementSet by implementing the interface on some collection of element(s)[/quote]Something like this?struct MyCollection : IElementSet { size_t index;...

View Article

RE: [CONNECT C++] ElementAgenda, IElementSet

sure, assuming some bounds-checking and return statements.or simpler example:struct OneElement : IElementSet { ElementHandle m_eh; size_t GetCount() override { return 1; } bool GetFirst(ElementHandleR...

View Article


[CONNECT C++] ElementAgenda, IElementSet

ElementAgenda.BuildFromElementSet (IElementSetP elementSet, ModifyElementSource source) accepts an IElementSet.The documentation for IElementSet reveals only ways to enumerate its contents, not ways to...

View Article

RE: [CONNECT C#] "Type or Assembly not found" compile error only on new...

Hi,I see you references seriously high number of assemblies. Do you really need them all for simple testing application? In my opinion the problem is in how the assemlbies are referenced, with what...

View Article

RE: [CONNECT C#] "Type or Assembly not found" compile error only on new...

One more note: More important information than Intellisense is what Visual C# compiler tells you: CSC : warning CS1762: .... enough information to check the problem on Internet, where detail...

View Article
Browsing all 7260 articles
Browse latest View live


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