AutoCAD Inventor :: How To Use Select Case
Aug 12, 2013
I am trying to write a code that says if a door width is within a certain range to select a specific product. The range is something like 19" to 21" select hinge 1, if it it within 21.125 = > 24" use hinge 2 .... etc.
I am new to iLogic programming, and I am pretty much self taught. I am also getting used to doing things a different way so I can make iParts out of them. I already have my door dimensions in a spreadsheet so I can control it from there.
View 9 Replies
ADVERTISEMENT
Sep 6, 2012
I've made an External rule in Ilogic that must read a parameter value (Thickness) to set a value in a property (StockNumber).
The value is not written to the property by Using 'Select Case', see code. There is no error or something like that. So what am I doing wrong?
Tested in an internal rule, where Select Case = <Thickness> instead of Parameter ("Thickness") and that works fine.....
Select Case Parameter("Thickness")Case 2iProperties.Value("Project", "Stock Number")="686001"Case 4iProperties.Value("Project", "Stock Number")="686002"Case 3iProperties.Value("Project", "Stock Number")="686003"End SelectiLogicVb.UpdateWhenDone = True
View 2 Replies
View Related
Dec 14, 2011
do you use all caps or do you use upper case/lower case in your drawing title block, bom, and notes?
View 9 Replies
View Related
Apr 2, 2013
I want to change the lower case words in shared parameters to upper case. Is there any way to make such a change in .rfa/.rte/.rvt file.
View 1 Replies
View Related
Oct 15, 2013
Does Saveas really need to be case sensitive. I just spent a lot of time trying to figure out why my addin wasn't working and all that was wrong is I had a capital P on png.
Dim sPath As String = System.IO.Path.GetDirectoryName(sIDWName) & "PartsLists"
Dim sFileName As String = System.IO.Path.GetFileNameWithoutExtension(sIDWName) & ".Png"
vs
Dim sFileName As String = System.IO.Path.GetFileNameWithoutExtension(sIDWName) & ".png"
Dim sPNGName As String = sPath & "" & sFileName
MsgBox(sPNGName)
oCamera.SaveAsBitmap(sPNGName, 1124, 899)
View 1 Replies
View Related
May 6, 2012
Here is the original drawing I am trying to model in Inventor:
My front view looks like this:
My 3d view looks like this:
Compare my front view with the original and you will notice an extra circle. I am not sure why that is, but I think it might be because I may not have not modeled the backview properly.
View 4 Replies
View Related
Jul 24, 2013
I wonder if one could change the characters in the part list to upper case when the file name is in lower case.
View 4 Replies
View Related
Jan 10, 2014
Have attached a simple assembly..i have constrained the parts but how do i get the shaft/Fan to spin inside the case?
View 6 Replies
View Related
Nov 8, 2013
I have a single AutoCAD LT 2008 user who lost the ability to change the case on text in a drawing. Normally, he would highlight text, say it was uppercase, right click to choose change case and he would select lowercase and it would do as designed. Now, it simply deletes the highlighted text.
We've done a repair install with no result. Anyway to restore or fix this functionality?
View 5 Replies
View Related
Apr 11, 2013
I have a computer where all text entered in AutoCAD text/mtext comes out in uppercase. Pressing the shift key while entering the text has no effect. The CAD-Girl involved has admitted to sniffing around in Express Tools System Variables and changing a few, but she cannot remember any more which ones she changed.
View 3 Replies
View Related
Sep 5, 2012
im using 2008 autocad . whenever i make an attribute using ATT command. it's forced as uppercase. how can i use lower case letters?
View 9 Replies
View Related
Jul 1, 2013
When I want to test if block with a given name exists in drawing, I use Block Table. Has(key as String) method, which is case sensitive, but then, when I try to insert a block with the same name, but different case, the block name is considered the same.
How can I test if the block in in the drawing then?
View 9 Replies
View Related
Jan 8, 2013
I have been trying to use the tcase command to change text case on a current drawing. some of the text is listed in properties with :A1 and various other squares and ( etc .). Any way to change this text. When I try exploding it and changing to mtext the fractions and all parts of the text is exploded as well.
View 9 Replies
View Related
May 31, 2012
I like the AutoCAPS setting in Mtext, however I occasionally use lower-case text when I am typing, such '2"x4" STUDS' . . . now, I do have a problem with AutoCAPS though:
Example - I copy '2"x4" STUDS" and paste it into another Mtext and the lower-case 'x' is automatically pasted as an uppercase character.
Are there any settings for AutoCAPS, or maybe for the copy/paste command that I can change to allow lower-case characters to be pasted into text when the AutoCAPS is on? It is a bit of a hassle to turn off AutoCAPS and turn it back on.
View 6 Replies
View Related
Feb 28, 2013
Switching between paper/model modes in case of overlapping viewports,I got 4 viewports (screenshot is attached)
My issue here is that I couldn’t switch between the paper/model modes for the inside viewports! This can be done only for the “biggest” viewport (that bounds the other viewports)
Then how can I switch between the paper/model modes for viewport number 2, for example?Right clicking a particular viewport (attached) doesn’t give option to do so!
View 4 Replies
View Related
Apr 24, 2012
I am writing various text insertion lisp routines. I want the computer to default to UPPERCASE before the user enters any text to ensure the text is added to the drawing as UPPERCASE text at all times.
View 4 Replies
View Related
Dec 19, 2013
create a routine to list all the dyanmic blocks in my drawing with a specific visibilty parameter name. The problem with the blocks that I'm trying to search for in my draiwng is that the visibility names are very similar with the only differences being CASE sensitivity (ie. OBJECT vs. Object).
(defun c:test (/ BNAME DATA E I PNAME SS VIS) (if (setq data nil vis (getstring T "
Enter the Visibility Parameter Name: ") ss (ssget"_X"(list (cons 0 "INSERT") (cons 2 "`*U*")) ) ) ;; setq (progn (repeat (setq i (sslength ss))(cond ((and (setq bname(vla-get-EffectiveName (setqe (vlax-ename->vla-object (ssname ss (setq i (1- i)) ) ) )) ) (setq Pname(car (vl-remove-if-not '(lambda(j) (eq (strcase (vla-get-PropertyName j)) (strcase vis) )) (vlax-invoke e 'GetDynamicBlockProperties) )) ) (not (member bname data)) ) (setq data (cons bname data)) (foreach itm data (print itm)) ));; cond );; repeat );; progn );; if (if (null data) (princ "
Block/Parameter Name not found")) (princ))
View 9 Replies
View Related
Jun 27, 2007
I would like to make a dvd case like the attatched.
I have the art made and just want to know the best way to bend it around the spine.
View 3 Replies
View Related
Nov 29, 2012
Just switched to 2012 from 2010. When I try to edit the description format field in the properties window of a selected cogo point, I can't type in caps, it's all lower case. If I right click and edit the point, I can use capital letters, however. (running C3D 2012 sp4, Win7 64bit, 8GB)
View 2 Replies
View Related
Oct 4, 2004
how to create a CD Case in PhotoShop 7?
View 5 Replies
View Related
Apr 8, 2004
i'm having a problem with my photoshop CS. whenever i create a new type layer and begin typing, it will only type letter in upper case. i can't get any lower case letters.
i made sure that my 'CAPS LOCK' is not selected.
View 2 Replies
View Related
Oct 29, 2003
Using : Photoshop 7.0
Alright this is my problem :
I am creating a portfolio DVD with all of my work to make it look really professional with menus and whatnot. I want the cover art to be professional too, so I created a nice case in photoshop using this :
Document Size :
Width : 10.75
Height : 7.125
Resolution : 200
Resample Image: Bicubic
Then I set up my rulers and created my DVD....
Now when I click print, it says clipping will occur. Which I dont see why, cause the document size (in landscape mode) isn't bigger than a sheet of paper. (Which Im using semi-thin cardstock to print on) But it still says clipping. So I click ok, hoping it will work, and set it up for landscape. It prints out, but it clips and doesn't do the whole thing, it cuts off of the left and right side. Yet it still has alot of blank paper it could have used to print on, I checked all my settings to see if there is something I could have missed, but i dont see anything at all that can help me with this matter.
View 4 Replies
View Related
Oct 29, 2012
I am attempting to add a material and to select the "Design Tab" except my Ribbon has no such tap. What options are there to get to the material database if there is on Design Tab to select?
View 1 Replies
View Related
Nov 19, 2013
When I type text in PS CC, it is ALWAYS UPPER CASE. I cannot get mixed case. Fortunately I still have PS CS5 on my machine, so I was able to fix the problem there. What's going on? Windows 7 Home Premium.
View 2 Replies
View Related
May 22, 2006
I am trying to make paper cd cases and I have made a cut-out/print-out version of it on photoshop cs2. I, however, am not sure at what size to print it out at. This may sound dumb, but I just held the cd up the the computer screen to see if it would be the right size and according to the screen it is, but not when I print it out.
View 2 Replies
View Related
Nov 13, 2008
I am NOT a professional in photoshop and am working for the Gov't in a Computer Forensic case. My question is: The other side says that they can use a hex editor and carve out a thumbnail from a JPEG. (Which I can do In Encase)However they contend that the image can have a watermark or the date visibly stamped and thumbnail will not show this insformation.
In other words, can a thumbnail be visibly different than the image it comes from? The image came from a Canon Powershot camera.
View 20 Replies
View Related
Jun 23, 2012
I made a complex sketch, and want to extrude.When i want to select the whole sketch, i position the mouse on the upper left of the screen and drag down and right, but no window is created.
And i cannot add segments to the selection, even with pressing SHIFT, because immediately after the first is selected, it is extruded.you see on the picture i attached that some segments (in red) are connected. how can i connect all the sketch together, so when i will select it everything is selected.
View 9 Replies
View Related
Apr 18, 2012
I am trying to fold the attached sheet metal part that is created from an imported ACAD drawing. After cleaning up the sketch I created the face and then created a sketch with the first bend line on it, but when I attempt to flod the part it will not sellect the bend line. I have attempted selecting the line before selecting fold and that does not work. I have placed the sketch both on the part surface and the datum plane. The only line I can get fold to select are the two ends of the part but I don't see how anything could be bent off the end of the part.
Inventor Premium 2013 SP1.1
Vault 2013- plain vanilla version
HP G71 notebook
celeron cpu w 4gb RAM and 64 bit system
Win 7 home premium
View 3 Replies
View Related
Jan 25, 2013
I am very new to all Autodesk software. I am currently doing a trial on Inventor 2013 and Solidworks 2013 to decide which software is a better fit for my company. I am offsetting a very complex sketch by .002" and I want to delete the original. Clicking every line and radius does not make sense to me.
View 9 Replies
View Related
May 17, 2012
I'm writing a program (C#) that automates the notch tool within the frame generator add-in in Inventor. I can select one part and then select multiple other parts that will notch to the first selected part automatically. This will save me a TON of time if I get it working correctly. With that being said, I have it to the the point where the user selects the first part and then window multiple parts (these are stored and then cycled through later), then I use SendKeys to open the "Notch Tool", and now this is where I encounter my problem.
The Notch Tool is waiting for the user to Pick/Select one part. In my code I've tried to use the CommandManager.DoSelect method which does not register with the tool (I'll exit out of the tool and the part will be selected). My thinking is that this notch tool will only accept the CommandManager.Pick method which would defeat the purpose of the program as I do not want the user to have to go through the parts one by one notching them together.
Is there a way to simulate a mouse click on a selected occurrence within Inventor? Is there another approach I should be considering? And finally, how to rewrite the actual notch tool to allow multiple notches to be done at once?! I'll post a snippet of my code.
docName = instance.ActiveDocument.DisplayName;
int iHandle = NativeWin32.FindWindow(null, "Autodesk Inventor 2012 - [" + docName + "]");
this.Hide();
NativeWin32.SetForegroundWindow(iHandle);
keybd_event(0x23, 0x4F, 0, 0); // Press End
keybd_event(0x23, 0xCF, 0, 0); // Release End (Brings up notch tool)
Thread.Sleep(3000);
//keybd_event(0x28, 0x0F, 0, 0); // Press Tab
//keybd_event(0x09, 0x8F, 0, 0); // Release Tab
NativeWin32.SetForegroundWindow(iHandle);
Thread.Sleep(500);
instance.CommandManager.DoSelect(vert);
View 2 Replies
View Related
Oct 4, 2013
I am working in 2013 right now. My project loads two material libraries, and I am finding that if the Autodesk Material Library is selected in the dropdown, and I try to set the material to something in my Custom library, it fails. If I first select my custom library to make it the active one, then my code works fine.
So my question is, how do I set my custom library to be the active one, or better yet, so that it will look through both library's and pick the material from the library that has it.?
View 2 Replies
View Related