Search the Community
Showing results for tags 'current'.
Found 6 results
Select objects in current layer
3dwannab posted a topic in AutoLISP, Visual LISP & DCL(sssetfirst nil (ssget "_X" '((8 . "5")))) will select objects in layer 5 no problem but when i incorporate (getvar "CLAYER") to make: (sssetfirst nil (ssget "_X" '((8 . (getvar "CLAYER"))))) It comes back with error: ; error: bad SSGET list value It's probably just a simple fix (heck, maybe even a standard command to do the same) Thanks in advance.
The image below shows an electrical network with four elements, a current controlled source, a resistor, one current source and a voltage source. Although I haven't labeled them, there are 5 interesting nodes in the network. Four at the middle of each side of the square and one at the center. I've been having trouble designing the current controlled source in PSpice. Does any one have an idea on how I would go about designing the current controlled source in PSpice?
Set Current Layer Filter to "All"
Ahankhah posted a topic in AutoLISP, Visual LISP & DCLHi all, who knows a way to set current layer filter to built-in filters like: 'All' or 'All Used Layers', of course not manually but via vlisp. Thanks in advance
How to get the current layer filter?
Ahankhah posted a topic in AutoLISP, Visual LISP & DCLHi Cad lovers, should any one help me to find a way in vlisp coding to find out which 'layer filter' is current? I appreciate any help!
Needed: Current Line weight
Ahankhah posted a topic in AutoLISP, Visual LISP & DCLHi All, how is possible to find out what is the current Line weight? I appreciate any help:)
Ask the name of running program!
Ahankhah posted a topic in AutoLISP, Visual LISP & DCLHi CADTutormates, is it possible to know the name and location of current code by itself? If yes, how? For example, if the loaded program is: "c:/MyFolder/Myprogram.fas", needed to find strings: "c:/MyFolder/" and "Myprogram.fas"?