AutoCAD .NET :: Setting Active Layer Filter

Mar 23, 2009

I'm trying to set the active Layer filter. I tried myDB.LayerFilters.Root.Name = "Filter1" but it wouldn't work.

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Code Failure Setting Active Project Across A Network

May 9, 2011

I am trying to write code to set the active project across a network.  In the code below I have hard written the address in to our main server named "Rusk" .  It fails with an error message "The parameter is incorrect".  I have tried this using a mapped drive as well with no luck. 

I think it may be a permissions error, I am running Vista 64bit.  Inventor version 12.  If it is a permissions error, are there any sample code snippets out there I can use to set the permissions?

Public Sub SetActiveProject()
Dim ProjectID As String 'variable to hold Project ID
Dim ProjectAddress As String 'variable to hold an address path
'Verify the project ID is entered
If UserForm1.TextBox3.Value = "" Then

[code]....

View 1 Replies View Related

AutoCAD 2010 :: Turning Off A Xref Layer / Active Layer

May 3, 2013

Is there a macro or lisp file that allows you to click on a element in the xref or active file and turn it off?

View 5 Replies View Related

AutoCAD 2013 :: Apply Layer Filter To Layer Toolbar Disables Function Of Layer Filters In Tool Palette

Aug 1, 2012

It appears that the Layer Filters functionality is broken again with 2013. Unchecking the "Apply layer filter to layer toolbar" disables the function of layer filters in the tool palette.

View 5 Replies View Related

AutoCAD .NET :: Select All Block Only On No Frozen And Active Layer

Jul 12, 2012

Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor
Dim db As Database = HostApplicationServices.WorkingDatabase
Dim tr As Transaction = db.TransactionManager.StartTransaction()

[Code].....

the only prob is : I want selec all block but not the block on layer frozen, off or not visible...

I can check all layer stat on each block.. (i do that already for check each block (name) but i want a solution more easy.)

View 5 Replies View Related

AutoCAD .NET :: Event For Change Active Layer In Document

Aug 24, 2012

Is there event for change current (active) layer of document?

(it's not Database.ObjectModified - it's not raised).

I tried to do it with binding as:

public void Initialize()
{
var layerList = Application.UIBindings.Collections.Layers;
layerList.PropertyChanged += new PropertyChangedEventHandler(LayerList_PropertyChanged);

And -= in Terminate, but... Autocad 2012 chashed _sometimes_!!!

Impossible to understand when it happened. So I reject this way. Is there other way to handle this event?

View 2 Replies View Related

AutoCad 3D :: Extruding Ignoring The Actual Active Layer

Aug 23, 2011

There is a method for extruding ignoring the actual active layer, so the extrussion result is the same as 2D base object...(and is not created in active layer) i forgot how coul i do this, is really useful

After Googling a lot i didn't get any result

View 3 Replies View Related

AutoCAD VB :: All Layers Locked Except Active Layer Chosen In Combobox?

Dec 21, 2012

I have a form with a combobox and a commandbutton.

 All layers in the layermanager must be locked except the active layer chosen in the combobox. I try it with this code but it’s not the right solution.

Private Sub CommandButton1_Click()Dim layer As AcadLayer'check if all layers are lockedIf layer.Lock = False Thenlayer.Lock = True'make the layer selected in the combobox currentThisDrawing.ActiveLayer = ThisDrawing.Layers.Item(ComboBox1.Text)End SubPrivate Sub UserForm_Initialize() Dim layerColl As AcadLayers Dim layer As AcadLayer Dim LayList As String ' all layers locked For Each layer In ThisDrawing.Layers If layer.Lock = False Then layer.Lock = True End IfNext 'fill combobox Set layerColl = ThisDrawing.Layers For Each layer In layerColl ComboBox1.AddItem layer.Name Next End Sub

 2. When I choose the for next method to lock all layers (40 layers) it’s very slow.

View 4 Replies View Related

Photoshop :: CS6 - How To Deselect Any Active Layer

May 12, 2012

I feel really dumb right now but for some reason I'm having trouble deselecting. First off, I'm talking layers and vector objects here. I know Cmd D deselects selections. But how you do deselect any layer which might currently be active? I'm working in PS CS6 for the first real time and it's like I suddenly got dumb or something.

I know you can select a blank area of the Layers Panel to do it, but my Layers Panel is full right now, so I don't even see any dead space. This is especially troubling because I'm making a lot of shape layers and if I do that while a layer is selected then I wind up making masks.

View 7 Replies View Related

Photoshop :: Undo And Active Layer

Nov 11, 2008

If I am working on a layer, then select a new layer to work on, then paint on that layer, then undo: the brush stroke is undone, but also the previous layer I was working on re-becomes the active layer. I want it to stay on the new layer I selected. Is there an option for this?

View 1 Replies View Related

Paint.NET :: Get New Background On Active Layer?

Dec 6, 2011

New user: I erased the background (BG) on the image I have so it is transparent. Saved as PNG. Now how do I put the new BG? I know I have to get the new BG on an active layer. Then, do I copy the FG (Foreground) image and paste somewhere. IOW how to merge the two? Must they be same size etc?

View 2 Replies View Related

GIMP :: Rescale Layer Using Rescale Tool With Layer Mask Active?

Jun 15, 2013

When you try to rescale a layer using the Rescale Tool with a layer mask active, it scales of the mask, likewise if you select the layer it will scale the layer. Can I select both the layer and layer mask and scale the layer, thus it keeps the layer mask showing the desired masked area only. As the only way I can see currently is by applying the layer mask on the layer and then you can see the layer/s below to get the scaling that is desired. But I would like to keep the layer mask active for editing after scaling.

View 4 Replies View Related

Photoshop :: Convert Layer To (16-32bit) Not Active Document?

Sep 27, 2013

Is there a script to convert a layer or layer group to a 32-bit image rather then the entire active document at present that is the only option in Ps 5.x.

View 4 Replies View Related

Illustrator Scripting :: Change Active Layer Name Same As Document Name

Sep 30, 2013

I would like to make the active layer name the same as the document name.  I know very little about scripting.  I found this script:
 
var idoc = app.activeDocument;var ilayer = idoc.activeLayer;var filename = idoc.name;ilayer.name = filename;
 
It does almost what I need it to do. except that it also copies the ".ai" in to the layer name.  Is there some way to modify this script to have it exclude or delete the file extension?

View 4 Replies View Related

Photoshop :: Crop Tool When Vector Mask Is Active On A Layer

Jun 21, 2013

Using Photoshop CC, if you have a vector mask on a layer and attempt to crop the image, the vector mask shifts incorrectly after the crop is completed.  The image is garbled.  If I rasterize the vector mask to a standard layer mask, the crop works successfully. 
 
I've checked to make sure that there are no numbers in the crop tool options.  Nothing appears to be set incorrectly. 

View 4 Replies View Related

GIMP :: Active Layer Highlight In Dark Or Light Blue?

Feb 2, 2014

What difference does it make if the active layer is highlight in dark blue or light blue?

I should know this by now!

View 3 Replies View Related

Illustrator Scripting :: Ungroup All Groups On Active Layer (JavaScript)?

Mar 5, 2013

How one would go about ungrouping all groups on an active layer with JavaScript?

View 5 Replies View Related

Photoshop :: Filter Effect And Layer Style In Same Layer Versus Separate Layers

Mar 18, 2013

I'm adjusting a photographic image and am using both a filter effect and a layer style in the same layer on a Smart Object.  I want to separate the two effects into two layers, so one layer has the filter effect (Nik) and one layer has the layer style (Color Overlay) (with the goal of merging/rasterizing the Nik filter effect with the Smart Object but keeping the layer style unmerged).  I can make two layers and move one effect without problem, but the visual result of each effect on a separate layer is quite different from having both effects in the same layer.   The Blend Mode for all my layers is Normal.  Within the Color Overlay panel, the blend mode is Linear Burn.
 
 Layer 1: a layer style and a filter effect, stacked
 
looks very different from....
 
Layer 2:  a layer style
Layer 1:  a filter effect

View 4 Replies View Related

Photoshop :: Resize Layer With Smart Filter Without Affecting Aspect Of Layer

Jan 10, 2013

I made a wax seal on Photoshop with a lot of embossment, bedevilment and a Smart Filter. It's done and I just need to make it smaller so it fits well on my certificate. When I resize it (Ctr + T) It pops up a message that reads: 
______________________________________________
Adobe Photoshop CS6 Extended
 
"Smart Filters applied to layers contained in this group will be turned off temporarily while the transform is being previewed. They will be applied after committing the transform."
 
OK
 
[] Don't show again
______________________________________________
 
I click OK and I re-size the layer with free transform, and then hit enter. The Layer is resized but my Smart Filter which creates a wavy affect around the seal is totally distorted.
 
How do re-size my layer with smart filter without affecting the smart filter aspect of the layer.

View 7 Replies View Related

Illustrator Scripting :: Change Color Of Text Frames On Active Layer?

Mar 3, 2013

Okay my script to change text frame color changes the color of all text frames hidden or not.

I need it to only change visible text frames.
 
if ( app.documents.length > 0 ) {
newCMYKColor = new CMYKColor();
newCMYKColor.black = 0;
newCMYKColor.cyan = 0;
newCMYKColor.magenta = 0;
newCMYKColor.yellow = 0;
 
[Code]...
 
How to go about making it only change the color of text frames on the active layer? In the final script I will hide all other layers so if it could be done by a visible attribute more easily that would work just as well.

View 4 Replies View Related

Edge Animate CC :: Working With Polygon Shapes And Defining Active / Non-active Mouseover Areas?

Mar 7, 2014

Since Edge only has rectangles and ellipses built in as available shapes, how to I/we work with polygon shapes and active mouseover areas INSIDE of these shapes and non-active mouseover areas OUTSIDE of the shapes?
 
Problem/symptom: when I import a polygon, be it any file format from from Photoshop or SVG from Illustrator, a rectangular border/background (transparent) gets applied, leading to this rectangle defining the mouseover area of the shape - and not the shape itself (be it a star or whatever).
 
WHAT I WANT: the very shape defines the mouseover area. How do I achieve this?? See examle below:
  
WHAT I DON'T WANT: how is is now:

View 4 Replies View Related

AutoCad :: AIA Standard Seems To Have Layer 0 As Default Setting

Feb 7, 2013

AIA standard seems to have layer '0' as a default setting. What is the line weight assigned to this layer?

View 1 Replies View Related

Photoshop :: Reference Point Location Jumps To Cursor When Moving Active Transform Layer?

Aug 1, 2013

I have a layer I'm resizing and is currently in Transform.When I beging to drag the layer to position while it is in resize the center reference point will jump to my mouse causing me to move the reference point outside of the tranform layer. Normally I would have to click on the reference point and drag it intentionally or hold CTRL and click in the transformed layer to set a reference point, but it since CS6 is had still remainded in CC.
 
This happens when I transform the layer (Ctrl+T) and then grab the layer to move. I have to put the reference point back to center via mouse or by the reference point on the menu bar up top. Then I can go back and drag my later where I need it to finish my transform.

View 2 Replies View Related

AutoCAD .NET :: Filter Based On Layer?

Jul 11, 2013

I have a curve which is a set of lines and arcs.This is present on a layer. code to filter these objects based on layer.I also need to convert all the object ids to a single entity.

View 4 Replies View Related

AutoCAD LT :: 2013 Layer Filter

Apr 6, 2012

Just upgraded to LT13 from LT12 and noticed that the layer filters don't change the list of layers in the manager.  for example if I click on an xref'd drawing in the filter tree in past versions only the layers in that drawing would be visible.  In 13 all layers are still visible. Is there a setting in this version I am unaware of? 

I'm sure this is the first of several "quirks" I will discover with the new version that I will most assuredly ascribe to a step backwards in functionality in the interest of pushing out a new piece of software.  How many days before the first service pack is available?

View 9 Replies View Related

AutoCAD 2010 :: Setting View To Specific Layer Seems To Be Unavailable

Apr 30, 2012

I am looking to see if I missed a setting somewhere.  I have hunted extensively, but the ability to set a view to a specific layer seems to be unavailable.  What I woudl liek to be able to do is define the layer that the viewport is inserted on when I bring a view into a sheet using the sheetset manager. I love this system, but it does slow me down in that regard.  If there is a setting or preference that I can switch to make that happen or am I going to have to write something to do it for me.

View 1 Replies View Related

AutoCAD 2010 :: 2012 - Setting Layer Manager Display?

Aug 28, 2012

It happens when you turn on layer manager to adjust each layer settings such as name, line type or color and etc.  

Problem is that each layer row disappears and each time it happens, only solution I know is to restart the computer. See the attached image. 

View 4 Replies View Related

AutoCAD LT :: Set Default Layer Setting In Hatch Command To Use Current

Feb 1, 2012

In the hatch dialogue there is a setting to target the hatch to a specific layer. How does one set the default to ALWAYS be "Use Current"?

Attached jpg shows the target layer as ffbrg, but I want that to ALWAYS read "Use Current" when creating a NEW hartch. In other words, I am happily working in a specific layer creating all these hatches and then realize LATER that all the hatches were in different layers causing great confusiion and havoc. 

View 9 Replies View Related

AutoCAD Civil 3D :: Layer Filter Commands?

Feb 8, 2013

I have been working on an extensive template and wanted to add some layer filters too it. I was wondering if there was a list anywhere that outlines what different characters mean to the fillter? What I mean is... I know that ~*|* excludes xfref layers because ~ means 'not' and * means "anything" and | is the character we are looking for. But what are all the other things that filters understand?

View 2 Replies View Related

AutoCAD 2013 :: Layer Filter From One Drawing To Another?

Jun 5, 2012

How to bring Layer filter from one drawing to another drawing?

View 1 Replies View Related

AutoCAD 2013 :: Layer Filter Not Filtering

Jan 16, 2013

I'm having issues with Civ3d 2013. I pushed off upgrading because of the format change and the service pack release. I was hoping little glitches would be fixed.Here are the  a couple of glitches to date that I saw no resolution to in the long list of threads.

1. Layer filters do not filter, unless I have checked "Apply filter to toolbar". The problem is, I don't want to apply them to the toolbar.

2. Publishing to PDF - when set to lines merge (set in the page layout and the publish setting), the wipe outs don't work, and the background masks on leaders makes a faint border around the text in the PDF. When set to overwrite, to get the wipeouts to not print to the PDF as a big black blob, they have to be on a layer set to color 255. I can work around most of the wipeouts, except for dimensions because the background mask doesn't seem to take.

another complaint that doesn't have anything to do with AutoCAD, but since I'm venting... we just got a KIP 7100 printer/scanner. WORST printer/scanner we've ever had. Period. Getting the right driver, then getting the driver to produce good drawings to the correct paper size was ridiculous, and the gray shades still look like we're using a big dot matrix printer. Scanning is the most painful thing; compared to the Xerox 6204 we gave up, the quality is poor and PDF file sizes are huge.

View 4 Replies View Related







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