New pages

Jump to: navigation, search
New pages
 
     (bytes)
Show bots | Show redirects
  • 20:17, 22 August 2010Variable Names (hist)[860 bytes]Ted (talk | contribs) (Created page with 'Generally I've been trying to follow Hungarian Notation where the prefix to the variable name tells you what kind of variable it is. ===Objects=== '''Points''' - pt: ptA, ptOr…')
  • 15:05, 17 August 2010SetLine (hist)[1,567 bytes]Ted (talk | contribs) (Created page with 'This subroutine takes a string which represents some kind of line type defined by the programmer and and changes the Microstation settings so that the next time a line is placed …')
  • 15:00, 17 August 2010Ellipses (hist)[459 bytes]Ted (talk | contribs) (Created page with 'An ellipse element is needed to draw a circle, which is just a special case of an ellipse. The function takes the center point as well as the radius along the X- and Y-axes and a…')
  • 14:55, 17 August 2010FeetString (hist)[1,875 bytes]Ted (talk | contribs) (Created page with 'This function takes a value in decimal feet and returns a string with feet, inches, and eighths (can be modified to other fractions), e.g. 4'-3 3/8". In Microstation the fraction…')
  • 14:08, 17 August 2010AngleString (hist)[1,187 bytes]Ted (talk | contribs) (Created page with 'This function takes an angle in radians and returns a text string with a format something like 4°-04'-21.1" Note that the function Degrees(), like Radians(), is part of Micro…')
  • 17:36, 16 August 2010Arcs (hist)[781 bytes]Ted (talk | contribs) (Created page with 'The CreateArcElement1 function is easiest for 2D drawings because it only requires three points: starting and ending points along the arc along with the center of the arc. <PRE>…')
  • 21:23, 12 August 2010Formatting Numbers (hist)[705 bytes]Ted (talk | contribs) (Created page with 'The best way to format numbers for output is to use the Format() function. It seems to work fine on either a string that looks like a number or just a regular number. Here is a …')
  • 14:22, 5 August 2010Points (hist)[909 bytes]Ted (talk | contribs) (Created page with 'To create lines you need a start and end point. Even cells and text require a point. So first you have to set up variables that can hold those points. A point consist…')
  • 14:05, 5 August 2010Rotation Matrix (hist)[650 bytes]Ted (talk | contribs) (Created page with 'To rotate cells or text when they are placed, you have to supply a Rotation Matrix. If you don't want any roation you can use the built-in constant Matrix3dIdentity. But …')
  • 13:53, 5 August 2010Text (hist)[1,660 bytes]Ted (talk | contribs) (Created page with 'Placing text is much more dependent on ActiveSettings, so the command itself is pretty simple. It involves setting up a point (like lines or cells) and a rotation matrix,…')
  • 12:22, 5 August 2010Cells (hist)[1,207 bytes]Ted (talk | contribs) (Created page with 'Placing a cells is similar to placing [[lines] in that both are elements. First you store the cell into a variable then you put that variable into the drawing. <PRE> Dim oCell a…')
  • 15:42, 4 August 2010Lines (hist)[2,314 bytes]Ted (talk | contribs) (Created page with 'You can't just draw a line. Instead you have to create a line in memory and then write it to the DGN file. So in a subroutine, first you set up a variable that will hold an eleme…')