Hi,
I'm currently designing a couple of custom dynamic autocad electrical blocks and there are a couple things that I cannot seem to be able to do. I would like to be able to rename the pin designator inside of the symbol editor if possible (see attached picture for clarity). I'd like to be able to name the pin to the left of my block a certain name, like say 1L, 2L, 3L, etc... and 1R, 2R, 3R for the right pins. This would only be the symbol editor pin designator.
Right now, the symbol editor can only show simple numeric character like 1, 2, 3, etc... Is there a way to rename these pin designator to the above mentioned number for clarity's sake?
Feel free to request any info that would be useful in understanding the issue.
Thanks!
Solved! Go to Solution.
Solved by rhesusminus. Go to Solution.
Solved by jseefdrumr. Go to Solution.
This can be done by entering the value (in your case 1L, 2L, 3L, etc... and 1R, 2R, 3R) into the default field of the "Edit Attribute Definition" which can be opened by double clicking the TERMXX. where XX is terminal number starting from 01.
Thanks for both of your prompt replies!
@Anonymous I did try to change the text of the terminals but it didn't seem to work, I'll investigate further, maybe I did something wrong.
@jseefdrumr Hmm, that is not something I had thought about. I didn't want to involve any visual basic in all of this for the moment as I don't have that much time to spend on the subject, but I feel it may be necessary... Would you say developping a custom tool in visual basic is a better option for what I'm trying to do? I'm thinking of having the tool do the changes from a custom command or tool window and then do a ATTSYNC or something along these lines.
Just a small FYI on dynamic blocks...
AutoCAD rule: "ALL block instances with the same name, must graphically look the same"
Attributes however, might differ between the instances (To have different texts on the different instances).
This is where dynamic blocks creates a problem for AcadE.
I modified this symbol quickly to have two visibility states:
"Lightning On" is the default state. If I use the LIST command in AutoCAD, I can see that the block NAME is "VANB1"
Command: LI LIST 1 found BLOCK REFERENCE Layer: "WIREFIXED" Space: Model space Handle = 10a4 Block Name: "VAN1B" at point, X= 287.5336 Y= 444.1228 Z= 0.0000 X scale factor: 1.0000 Y scale factor: 1.0000 rotation angle: 0 Z scale factor: 1.0000 Scale uniformly: No Allow exploding: Yes Visibility1: Lightning On
If I change to visibility "Lightning Off", and do a list again, you can see that the block name is still "VANB1", but there has been a small change:
Command: LI LIST 1 found BLOCK REFERENCE Layer: "WIREFIXED" Space: Model space Handle = 10a4 Block Name: "VAN1B" Anonymous Name: "*U30" at point, X= 287.5336 Y= 444.1228 Z= 0.0000 X scale factor: 1.0000 Y scale factor: 1.0000 rotation angle: 0 Z scale factor: 1.0000 Scale uniformly: No Allow exploding: Yes Visibility1: Lightning Off
To make sure the rule "ALL block instances with the same name, must graphically look the same", AutoCAD gives this variant a new anonymous name. It's THIS anonymous name that gets reported back to AcadE as the block name, and THAT is what breaks the functionality, as AcadE is really dependent on the "intelligent" block names in its code.
So, avoid using dynamic blocks for "intelligent" symbols in AcadE, but feel free to use it for other "unintelligent" symbols in your schematics.
Ref. @ Dynamic block - rhesusminus made things clear that why Dynamic features don't work in AECAD. And you won't be able to update the block either (if needed) once the dynamic feature is activated as the block name changes to UXX. However, I still prefer to use (been using several years) the dynamic features such as resizing the LRU size (not the electrical intelligence / features). If I have to update the block, I update the block before activating the dynamic features (in my case resizing the LRU size). Then I change the LRU size. This saves a lot of drafting time and still be able to access the database to define the LRU part numbers, XREF, LOC, etc.
Ref @ pin numbers -Yes, it is good idea to define pin numbers in the catalog data. This works very well in switches (PB, SPDT, SPST, parent and childs). In case of Vivisun Annunciator switches which have alphabetic and alphanumeric pin numbers, 4 indicators and upto 4 SPDT mix and match switches in one block, I prefer to define the pin numbers in the symbol rather than in the catalog data.
I would say it depends on user, type of the project, and company working procedures / standards etc.
Can't find what you're looking for? Ask the community or share your knowledge.