Dim acDoc As Document = Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument
Dim acCurDb As Database = acDoc.Database
Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()
Dim bt As BlockTable
[code]........
I am using LT 2013. I cannot figure out how to match properties for text. I click on the 2 options and the box witdth, orientation, layer will match but not the style or font. I have tried using Quick Properties to select but have not had any success with this tool. Here is what I did:
Created a style and named it Arial.
Open the Quickselect box.
Apply to : click the box and select the various mtext objects.
Object Type: mText
Properties: Style
Operator: Select All
Include in New Selection Set is checked.
I click Ok and the objects are selected.
Next I go to the Properties Manager and change the style to the one I want to use, bu the text does not change. If Idoubleclick a text object it shows the correct style, but not the correct font. What have I missed doing?
I am using AutoCAD 2011. I have been reading of similar problems with MText: I format the text in the drawing to my desired appearance and once I close and reopen the drawing, the column widths have compressed and muddled the text legibility. After reading other similar posts, I set MTEXTCOLUMN to 0 and changed all MText to "No Columns." MTEXTCOLUMN is still set to 0, but the other properties have reverted back to dynamic columns, so I am still having this problem. To check against this being a problem on my specific workstation, a coworker opened the file on his workstation and experienced the same text compression.
I have multiple singular text objects on my screen and I want to convert them to mtext so I can use the Background Mask option within mtext on my drawing. how to quickly select all the text and convert it to mtext without it combinin ginto 1 mtext?
I have numerous MText paragraphs that I need to combine into a single piece of MText. I want the paragraphs preserved in the final piece. I've found some routines that can combine pieces of MText but I don't know if they preserve the paragraphs.I have DotSoft Toolpac but it doesn't seem up to the task. C
Infrastructure Suite/C3D 2013, LDT 2004, Power Civil v8i SS1 WIN 7 64 PRO HP Pavillion h8xt, i7 2600, 12 GB RADEON 6450, 1 GB
the properties palette started only showing the current properites for the drawing and not the properties of the entity selected. what causes this i am using autocad civil 3d 2013.
When I select any object, my quick properties tab is blank and my properties tab doesn't register anything. Also, I get an error message when I go into my CUI to try to modify the quick properties tab. Pretty frustrating. I've attached a couple of images for reference. I've repaired, re-installed and unistalled and re-installed and still have the same probelm.
Dell Precision T3500 Intel(R) Xeon(R) CPU W3530 @2.8GHz ATI FIrePRo V5800 (FireGL V) 12 GB Ram 64 BIt OS
Somehow the Properties Palette has gotten less wide- such that I can't read teh actual properties. Previously I was able to make it wider just by hovering over it, clicking on an arrow and dragging it wider. Not now.
It's not just the layer that isn't being displayed in the Properties Palette. My 2014 Properties Palette isn't contextual--displays only the general info--none of the object specific information.
I recently upgraded from LT2013 to LT2014. I never had any issues with 2013, but now seem to be battling with 2014. My OS is Windows 7 Home edition.
When selecting an object and then clicking the properties menu, the properties of the selected object are not displayed, but instead the properties of the selected layer are shown.
In the attached screenshot:
1) My active layer is "AM_VIEWS".
2) The layer of the object that is selected is "MEDIUM".
3) The properties dialog box shows the properties of my active layer and not the selected object.
I am therefore unable to override any settings of the selected object and manually change settings e.g. Linetype, Linetype scale etc.
I recently had to reinstall my AutoCAD LT 2008 and now when I open the properties palette to make adjustments to dimensions and fine tune, many peramiters that used to be visible are no longer there and accessible. I used to be able to adjust the dimscale as needed in the properties window, but can't now. How do I get it back?
I want to set up my drawings so that the title block displays properties from the model. I want to set this up so there will be drawing properties to extract into Vault. So I want to know what other Inventor and Vault users are doing to get model properties into Inventor drawings: Using model properties in the title block and nothing to extract in Vault or Copy model properties so Vault has data to extract.
I want to know what the best in class practice is? What are others doing? I do not want to use iLogic I was out of the box Inventor functionality.
For the last couple weeks I've been unable to view object properties or quick properties. If I right click on an object and select quick properties, a blank window comes up:
Similarly, if I bring up a properties window and select an object, the selection field remains blank and the object property fields are not populated with information relating to the selected object:
I finally got some Lisp scripts working. They generate a block library from a CSV file. The script reads the file, and generates a simple rectangular block based on dimensions on the line. I have another script that can read a csv of block names and values, and add these as attributes to the block.
The attributes added are simple, like "weight" and "max stack qty". I would like to be able to see these values in the properties tab or in quick properties. In my CUI I have "Display Custom Attributes" checked under "block reference".
However, when I select a block, no attributes show up. I can get it to show me things like "name" and all of the scaling values, just no attributes.
I'm trying to make a small program in vb.net that creates are laser drawing. So far I was able to create the drawing from a part in inventor. The only left to do is to add the Part Number + description into this drawing. I'm really struggling on this one. I'm currently able to open the drawing and that's all. I've tried many things from examples I found on forums but it's not working. This is a sample of what I have regarding autocad in my program:
I need to find a way to add Mtext but I don't find anything that I'm able to use in my program. If any of you know a good reference, or have a sample of code.
I've found some example code on how to create Leaderline and have been playing around with it. So far so good, but when I create my leaderline and the Mtext generates, it is always preceeded by an "OK" and i can't figure out where it's coming from. I've tried using TrimStart on a number of the strings to no avail. I know it must be something insanely simple but it can't seem to get it.
using Autodesk.AutoCAD.Runtime;using Autodesk.AutoCAD.ApplicationServices;using Autodesk.AutoCAD.DatabaseServices;using Autodesk.AutoCAD.EditorInput;using Autodesk.AutoCAD.Geometry;namespace DimensionLibrary{ public class DimensionCommands
In MS Word I can have some text that is all in one full width column, then put in a break and have a later section in multiple columns, then a break and go back to one column.
I want to do something similar in ACAD.
Here is how I want it to look.
GENERAL CONDITIONS
1. LOTS OF BOILERPLATE 2. LOTS MORE BOILERPLATE
Here is how MText does it.
GENERAL CONDITIONS 2. LOTS MORE BOILERPLATE
1. LOTS OF BOILERPLATE
Is there a way to separate sections, or do I need to make the "GENERAL CONDITIONS" part a separate mtext object?
I am trying to add an MTEXT background mask in vba I know it may be easy to do in lisp but I already have a working vba code for creating the MTEXT just need to add the background mask into the text.
all the codes I can find in the internet are doing it in lisp.
If I put a single line text and use it several times and then select them all I can change them in the properties all at ones. How do I do that with Mtext, if I select all and go to the properties they are opened one by one and you can change that.
Is there another way to do that as a single line text with the same.
I am currently working on making a template for the whole company that would allow all the divisions to use dropdown text in the title block to pick the division, and then the drafter and the person it was checked by. How to get a dropdown text into mtext. Currently I have it so that one office, the one I am in, can scroll through the divisions and the people who work here, using a combination of macros and fields.
One of the things about Mtext that I really like is to dynamically adjust the text box size. I don't seem to be able to do this when using the multileader with the Mtext. The Mtext when selected with the Multileader acts like the single line text where I have to manually insert returns.