AutoCAD .NET :: Block Created And Inserted Shows Text Entities At Origin

Aug 30, 2012

I've written a method that creates a block definition and inserts one instance the newly created block definition.  The block is comprised exclusively of lines and text entities.  When the method is completed, all entities appear correctly on my machine.

However, when other users try to run the routine on their machines, the lines appear correctly but the text entities all appear positioned at the block insertion's origen.  And the other users must manually regen the drawing after the command is run to trigger the text entities to move (or appear to move) into their proper location.

 Though it wasn't necessary on my machine, I tried adding the following line as the last instruction in my command-method:

 _drawing.Editor.Regen();

 But even that last line's programmatically-triggered regen didn't solve the text location issue for my users.  They still have to manually regen.

I also ensured that all (or most) of a test user's system variables were set to the same values that I use (via Express Tools export & import).  But that didn't work either.

View 9 Replies


ADVERTISEMENT

AutoCAD Civil 3D :: Dynamic Block With Text Inserted Into Drawing Show Text Orientation Matched To Layout

Apr 17, 2013

Is it possible to have a dynamic block with text which, when inserted into a drawing, will show the text orientation matched to the layout? I have a non-dynamic block which is simply a donut and a piece of text. When I insert it into a drawing, the text orientation will change to suit the orientation of the layout. I created another block with the same entities but I also added a couple of lines extending out from the center of the donut. I added stretch and rotation actions in order to rotate and stretch the lines. I also gave the block visibility states so that either one or two lines would appear (the block is a utility pole,by the way, with the lines representing guy wires). When I insert the dynamic block into a drawing, I cannot get the text to match the orientation of the viewport. I've tried changing different combinations of settings but the text won't appear horizontal.

The two blocks I mentioned above are inserted into one file with a number of other blocks. When I check the properties of the non-dynamic block, the "match orientation" is set to YES. I cannot, however, change the "match to orientation" setting to YES on the dynamic block. Is this simply because it is a dynamic block or am I missing something? I don't create a lot of dynamic blocks and therefore I am not a wizard at it so I am assuming I am doing something wrong.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Deleting Last Inserted Entities

Jun 2, 2012

This is what i would like to make a lisp for: if the user gives the number tree the last tree inserted entity's are deleted. If the user gives the number four the last four inserted entity's are deleted.

View 2 Replies View Related

AutoCAD .NET :: Make Inserted Objects Gripped To Positions Of Existing Entities

Apr 26, 2013

A Leader can be associative if it's drawn to a grip point . Is there a way to make inserted objects gripped to positions of existing entities?

If it's something to do with object overrule then it may be put in the too hard basket.

View 6 Replies View Related

AutoCad 3D :: How To Edit Block In A Way Which Removes Original Origin Of Block

May 23, 2013

I use AutoCAD for mac 2013. I'm a interior design student and I have a question regarding editing 3D Blocks which can be downloaded from the web.

If I download a 'free' 3D Block, is it possible to edit the block in a way which removes the 'original origin' of that block?? I have tried exploding the block and redefining it in a wblock file and changing the layer. But I'm not sure if this process has removed the original information which it came from...

If there is a way to remove the origin (that is came from the web).

View 9 Replies View Related

AutoCAD .NET :: Insert Block And Drag Jig Hiding Inserted Block At 0,0

Apr 11, 2013

I have a pallete button that inserts a block then a drag jig to position it. The block is first inserted at 0,0 and dragged.

The block at 0,0 remains visible while a "duplicate" block is dragged. Is there a way to hide the original?
 
Insert block then calling the drag jig..
AddViewBlock(New Point3d(0, 0, 0), 0, ColorIndex, trans) psr = ed.SelectLast() DragView(psr.Value, "Bar Insertion Point")
 
In the DragView procedure I have:

 Public Sub DragView(ByVal SS As SelectionSet, ByVal sPrompt As String)
'....
Dim ppr As PromptPointResult = ed.Drag(SS, vbLf & sPrompt, New DragCallback(AddressOf MyDragCallback))

View 4 Replies View Related

AutoCad :: Update Sub Block Entities / Attributes With Dynamic Block

Oct 31, 2013

I would like to change sub block from a visibility after setting it. Here an example of code to get the right visibility, I don't really know how to update a sub block by name or by handle(seems to change inside dynamic block).

Dim Block As AcadBlock
Dim BlockRef As AcadBlockReference
Dim DynEntBlock As AcadEntity
Dim DynObjRefH As IAcadBlockReference
[Code]........

View 9 Replies View Related

AutoCAD Inventor :: Created Part Shows As Unresolved

Aug 5, 2013

In an assembly of a gymnasium divider curtain, I create a path on a 3D sketch which snakes its way upward through a series of grommets.  A circular profile is then swept along the path to create a new part - a cable.  The cable is its own unique part document and is saved and then vaulted in a job-specific folder.  The curtain assembly has several instances of this cable.  Everything looks fine until the assembly is closed and later opened for editing.  When the assembly is opened, the cables show up in the browser as "Unresolved."  Graphically, they have disappeared.  

Windows 7 Professional, 64-bit
Inventor 2013 / Vault Collaboration 2013

View 1 Replies View Related

AutoCad :: Block Acting Funny When Inserted?

Aug 2, 2013

I have made a few blocks that contain a few attributes. I have populated the Tag, Prompt, and Value for each block. When I insert the block the value seems to take on a life of its own and populate with text different than what I have entered.

View 7 Replies View Related

AutoCAD .NET :: Inserted Block - Unable To See Attributes

Aug 3, 2011

I have a function that inserts a file to be a block definition

db.ReadDwgFile(fileName, FileShare.Read,True, "")
Dim isAnno AsBoolean = db.AnnotativeDwg
Dim btrId As ObjectId = destDb.Insert(destName, db, False)
If isAnno Then
[code]......
  
When I create a block reference the attribute collection count is zero. Is there something I need to do with the block definition to enable the attributes.

I am using AutoCAD 2010 64 bit. (I did think I had this working on my 32 bit computer but will check tomorrow). Running the AutoCAD function Battman - sync fixes the issue.

View 1 Replies View Related

AutoCAD 2013 :: Inserted DWG Block Out Of Scale

Nov 7, 2013

I would like to solve a drawing insertion when I set the scale as 1 but when I insert the dwg, it looks smaller and the PROPERTIES box tells me that the dwg is .0364 in size.

View 1 Replies View Related

AutoCad :: Remove Permanently Inserted Block?

Feb 17, 2013

How do I remove permanently inserted block?

View 1 Replies View Related

AutoCad :: Block Insertion - Placing Tree On Origin

Nov 14, 2012

On my civil drafting project plate 1 I am trying to insert my Tree block and i type the coords in and it ends up way off screen but I insert a point at the same coords and it goes right where it needs to. What am I doing wrong?

Figured it out on my own by placing my tree on origin 0,0 and then creating block. not sure why that is the way it is but I got it to work for what I need it to do.

View 9 Replies View Related

AutoCAD 2010 :: Dynamic Block That Contains Inserted Field

Mar 18, 2012

“Dynamic block” that contains an inserted “field”,

I’m now encountered into two problems with this regard:

Why sometimes we get the number sign “####”?How can the field automatically be updated in case a “stretch” is made without the need to go and click “update fields”?How to make the “precision” of the field value (which represent the length) to be 5 such that the 2568 will appear as 2570 and the 2563 will appear as 2565
I’m attaching the block in case your time permits to have a look

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 1 Replies View Related

AutoCAD 2013 :: Unable To Find Inserted Block

Nov 5, 2012

I inserted a block into a very busy drawing. I can't find it now. Is there a way to locate it? I want to delete and insert a newer  version, but I can't until I delete this one.

View 4 Replies View Related

AutoCad :: Make A Block With Date Automatically Inserted?

Jul 31, 2012

see attached block. I would like the current date be present, instead of typing in the date for this block. When I insert "IFC" block, I would like todays date to be inserted automatically. I guess I am asking if you can make smart blocks in autocad 2009? Let me know if I'm not asking this question correctly.

View 7 Replies View Related

AutoCAD .NET :: Jig Multiple Entities Such As Insert Block And Add Line?

Mar 26, 2013

How to Jig multiple entities such as insert a block and add a line.

View 3 Replies View Related

AutoCAD 2013 :: How To Update (title Block) Being Inserted As Xref

Oct 16, 2012

How to update the “title block” being inserted as Xref?

I wanted to update the title block (inserted as Xref) as some changes occur in the original dwg but sounds not to work.

How the Xref is updated so that all changes in its original source can be reflected automatically?

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 2 Replies View Related

AutoCAD Architecture :: Explode Window - Block Inside To Origin Point

May 28, 2013

when i export (or explode) my plan every window, doors etc... split in more "under-blocks", and that's ok. but i have a problem with the windows: after the explode command, one of the blocks inside (the one that shows the opening side) "jump" in the 0,0,0 coordinates point, but all the others remain in the right position.

PS: i think the problem is not in the window-block, because i tried it in another old file, and it works. and the autocad option are also always the same.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Make One Single Block Containing All Entities

Aug 16, 2013

I have a lisp that draws variety of entities such as lines, arcs, hatches, points, blocks, text etc. How can I make one single block containing all of them, i.e. one block that has all items drawn since the lisp was invoked.

View 8 Replies View Related

AutoCAD 2013 :: Applied Material Disappears From Part Of Block When Inserted Into Drawing

Aug 9, 2013

I have a library of blocks that I built for our company to use.  We recently upgraded from 2013 to 2014 and boy did it throw our library for a loop!

There is a check box (reflectivity) that leaves the materials black when the drawing shade mode is changed to Realistic (unless you go in and uncheck the reflectivity box) and while I have figured out how to alleviate that issue (by unchecking it on our tempate and saving it) I am still having a materials issue with our blocks.

I can open the block (and turn on Realistic mode) and all the pieces have their materials like they should.  I then open a new drawing and insert the same block into the drawing .. one piece is sans material.

I cannot for the life of me figure out why it's there on one drawing but it gone when inserted.  The new drawing has been purged and doens't contain anything it shouldn't.

[URL]

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Retrieving Number Of Entities In Dynamic Block

May 19, 2013

I am modifying stuff in a dynamic block insert entity. There is no "endblk" entity at the end of these definitions and I need to cycle through every entity within the block definition. When it gets to the last entity,  I get an error because you cannot entnext passed the last entity. There are 2 things:

1. How to retrieve the # of entities in a block without cycling through it.
Or
2. A quick lesson in the *error* function, I cannot figure out how to implement this. I basically want to to say:

(if (entnext myent)) returns a error, don't abort & continue on.

View 4 Replies View Related

AutoCAD Inventor :: Cannot Select Origin To Constrain Sketch With Dimension To Origin?

Oct 4, 2012

I cannot select origin to constrain sketch with dimension to origin?

I selected Sketch,
expanded origin,
selected mywork plan (xy)
drew rectangle,
input dims,
right click for marking menu,
selected dimensions,
Origin is yellow,

cannot select it and then edge of rect to set dim that will center sketch on origin? Just like the videos show, but cannot select origin>

View 6 Replies View Related

Photoshop :: Work On 16 Bit Grayscale Image Created From DEM / Shows Up Black

Sep 13, 2012

The image is basically a grayscale height map created from Digital Elevation Models, and exported out of another program as a 16bit tiff. I know photoshop can handle the idea of a 16bit image, but no matter what I do, these come out black. i've tried dumping it out as signed, unsigned, stretched, etc. I can't mess with things like contrast or brightness globally cause that will alter the values which have to stay the same.Basically it needs to open in photoshop cs5 as what it is and save off the same way.
 
I don't have any other way to do what I need to do to it other than photoshop, so if there is a way to make this work, and no, converting it to 8bit is not an option.

View 17 Replies View Related

AutoCad 2D :: Keyboard Block That Shows Key Letters / Numbers?

Oct 20, 2010

I'm looking for a keyboard block that shows key letters/numbers.

View 2 Replies View Related

Photoshop :: Justify Text Despite Image Text-wrap Inserted CS2

Apr 25, 2013

I am setting a book in Indesign CS2.I use "Text frame options" > align > justify on all my pages. On a page that was so justified, I inserted a picture using the "text wrap".  Soon as I did, the text stopped being aligned along the foot of the page (which looks rotten, because the facing page is justified and so the spread is now no longer aligned.
 
I tried to I use "Text frame options" > align > justify again, but now the option to align is now greyed out.

View 2 Replies View Related

AutoCAD 2010 :: Bold Text When DWG Inserted As Xref?

Sep 17, 2013

I have dwg files with Calibri font (our standard font style) that I am trying to xref into one drawing (a bunch of detail dwgs essentially). The detail looks fine in its own dwg - but when I xref the dwg into another dwg some text elements appear bold. I've check ALL of my font styles - nothing is selected to "bold"... I scale the x,y and z to the same scale.

View 7 Replies View Related

AutoCAD Inventor :: Parameters Inserted Into Drawing Text Keep Disappearing

Jun 26, 2012

I am running into some trouble with user parameters that have been inserted into a dimension's "text box". I sometimes hide the dimension itself and insert these parameters so that iLogic can manipulate the upper & lower tolerance limits for a dimension.

The problem seems to arrise anytime one of the dimension's arrows becomes detached from the drawing (and perhaps for other reasons, too, although this is the only clear cause so far). I can reattach the arrow and the dimension seems healthy again, but if I go into the text editor, I notice that the link to any parameters that I've inserted has been lost. They appear as they were last set, but will not update if the parameters themselves change.

Is there a better workaround for this, or can we expect a solution in IV2013? I've invested close to a year's worth of work expecting this method to perform properly, and it will be a letdown if there's no solution.

View 1 Replies View Related

AutoCAD 2013 :: Export Text Entities To Excel

Oct 18, 2013

Need to export to excel, just text entities from old drawing. Or convert to table, then export. As long as i can get the text to excel.

View 3 Replies View Related

AutoCAD 2010 :: Export Text Entities To Excel?

Oct 31, 2011

Any method to export text to excel such that the text is editable within excel?

I have a column of text (each text line is an individual mtext entity) and I would like them to appear in a column format in excel where each mtext entity has it's own cell.

View 6 Replies View Related

AutoCAD LT :: Changing Colour Of Text And Entities To Red In 2013?

Feb 15, 2013

how do i change the text and entities from Black to Red after the WBlock has been inserted into a new drawing and exploded.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved