Registered forum members do not see this ad.
3 quick questions:
1. When you create a selection set, you must choose all items you want to select and then hit enter, or whatever. How can you let the user select only one item at a time.
I have a block with one attribute. When the block is inserted the default string for the attribute is "**". I want the user to be able to click on a block and cause the attribute to change. However, I do not want the user to have to select all blocks they want to change and then hit enter(or right-click). How can I let the user click on blocks and have them updated as soon as they are clicked on??
2. My attribute mentioned above is pipe size. I have seen a macro in which the pipe size can be a fraction. How can I code this. I do not want it to look like this "1 1/2" for one and a half inches. I would like the "1/2" part to be smaller and look like an actual fraction. In the program I saw, if you changed the attribute to "1\", when you look at the drawing the "\" was converted to a "1/2" symbol. Any idea how to do this.
3. I can not align my attribute. When it is inserted it is aligned, but when you edit the attribute it is not aligned. I do not know how long the string is that the user will enter, but I want the alignment to be centeralign. Do I declare this when I am creating the attribute reference. If so, how do I code it. I have been trying to figure this out forever and nothing seems to work.
Thanks for the help !!!!!!!!!!!!



Registered forum members do not see this ad.
1) various options Select / SelectOnScreen / SelectAtPoint or Getentity and use filters
2) Insert the text as you want it to display i.e "1 ½" or "1 ¾" or whatever. Check your Character Map for the values, they may change depending upon which font you are using.
3) You have to set the alignment as you are creating the attribute. ~ check out the alignment property
ResourceCAD.... the Resource for your CAD Solutions
Bookmarks