How do I apply a texture to an imported .stl file in 3D Picture Control?

Hi, I'm trying to apply a 2D image as a texture to an imported .stl file in 3D picture control. It works fine if I'm using a standard shaped mesh created in LabVIEW, however is there a way in which a texture can be applied to an imported model that isn't a standard shape, in my case a balloon. I've attached the an image of the Sub vi where I apply the texture. The object just shows up as a flat colour. Do I need to define how the image is applied to the mesh due to it being a non-standard shape? If so, any pointers would be appreciated.
Many thanks.
Oh, I'm using LabVIEW 2009 SP1.
Attachments:
stl texture problem.jpg ‏60 KB

Apologies, been trying all afternoon and then a couple of minutes after posting, I figured it out. Using a property node for the Scenemesh reference, I set the property TextureGenMode to Spherical and it appears to now display the texture on the mesh.

Similar Messages

  • How to drag a file into a picture control in a runing VI?

    When the VI is runing, LabVIEW allows users to drag a file from windows explorer to the File path control to get the path. But how could I drag a file into a picture control to get some event?
    Since the Picture control will also used to reponse to some other events so put the a transparent file path control on top of it may be the last idea in my mind...
    Is there any other options??
    Thanks guys!

    In Dreamweaver CS4, whenever I try to drag a newly updated version of a swf file into a certain directory / folder in the Files panel of the Dreamweaver interface, the file simply gets placed under my website's root instead.
    You are dragging the file from OUTSIDE of DW (using Explorer/Finder) and dropping it within DW's FILES panel (I didn't think you could do that!)?  Or you are dragging it from within the FILES panel, but from outside your site (by choosing "Local Disk" from the drop list)?  I think what you are seeing is the best you will get with that procedure.  Try going to "Local Disk" and copy the file, then return to your site and paste it where you want it.

  • How do you reduce the beat of an imported audio file?

    How do you reduce the beat of an imported audio file?

    albertofromdesio wrote:
    How do you reduce the beat of an imported audio file
    http://www.bulletsandbones.com/GB/GBFAQ.html#changeimporttempo
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • How do I apply a texture to a text field's fill area?

    Hi all, first post and all that!
    I've seen that it's possible to format a specific bit of text in a text field with:
    setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void
    I need to format a section of text by applying a texture to the rectangular fill space around the letters. (Imagine in Microsoft Word that you've written a short sentence and you highlight it. Then you fill the text background with a colour. Then imagine that that colour is a single repeating texture. That's what I'm trying to achieve.) Note that the text field must be multiline, and I'm not looking to fill the whole rectangular text field area. The applied texture needs to fit to each character.
    Is this possible in Actionscript?
    Would I need to use some kind of HTML or CSS formatting?
    Is it possible at all?
    If it is possible, is it possible to change the size of the fill area around the text?
    Thanks all!

    Actually, that's pretty much what I'm looking for. For anyone else reading this thread:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001279.html
    That'll fill an area with a repeating texture. The tricky bit now is to work out a top left coordinate for each line of text, and the length of each line in pixels (based on the sum of the character widths). I'll have a poke around and see if there's a way to get that information back from a movie clip.

  • How can i change date and time after importing a file

    hello
    i'm importing AVI files first in iMovie because Final doesn't support (other question i put in) but when i see the scenes form 1993 they have the date 2004.
    i believe 2004 is the date i put them on the computer.
    Now i looked in the help files Final Cut Pro but cant find anything to adjust the date and time.
    it works well in iMovie using the help files:
    Right-click the clip you wish to edit and click Adjust Clip Date and Time from the menu that appears. Or click on Archive and than adjust date and time
    But as i said i cant import the files in FCP have to import them to  iMovie files adjust the date and than import to Final Cut Pro but than de changes i made to the date and time  are gone and in FCP 2004 is again the date of the file!!!
    Question how can i Change in Final Cut Pro the date and time in a same way as iMovie does?
    Jemajoro

    OK, I think I understand what you are saying but it still does not look like it is doing it as you describe.
    Here is another screen shot.
    Note that all clips in "2007 August" event have the date of Aug x, 2007.
    Yet, the event "2007 August" still shows up under the 2012 "folder" (is that the right terminology?).
    The newest clip in this event is Aug 31, 2007 so shouldn't it be categorized as 2007 and not 2012?
    I think you know this but I am using the following feature:
    Go to the sprocket icon under the events.
    Select "Group events by date" and then by "group events by year and month"
    Thanks again for all the help

  • How do you change a color on an imported tif file in adobe illustrator?

    Hi, I have put together an illustrator file by importing various tiffs and putting them togetherfor a figure in a scientfic journal.  I have to change the red in all my images to magenta for those that are colorblind.  I was hoping someone could help me figure out how i can change red to magenta in illustrator off of imported tiff files (not objects that were created in illustrator - i know how to do that).  I have tried to get the answer from technical support over the phone but they keep disconnecting me?  Can anyone help?

    Thanks for the input.  I do know how to do it in photopshop and am trying to export my files into layered .psd-s but the layers don't always export perfectly and the journal needs me to send a layered file (doesn't matter .ai or .psd).  The figure should have been put together in photoshop originally, but unfortunately it wasn't.  The Phantam CS seems interesting but you alos have to buy it and I don't want to have to purchase something to do it.  Especially since Adobe says there is a way to do it.  Just don't know what that way is....

  • Oly E-PL2: How do I override in-camera crop in imported RAW file?

    When I import RAW files from my Oly E-PL2 for which I have set an aspect ratio other than the native 4:3, Aperture reads this and displays the set ratio in both the thumbnail and in the viewer. How can I revert to the original 4:3 (the full RAW data)? I know the original RAW file still has all the data because if I export the original and open it in Olympus Viewer 2, the full 4:3 is there with the crop overlayed.

    So how could I solve this?
    In Lightroom, select "Save metadata to file" in the metadata menu in Library for the image you want to edit. Then Right (or control) click on it and from the popup select "Show in Finder/Explorer". Then a Finder (or Explorer) window will open where you can double click the RAW file (if you have set up Photoshop as the default editor for them), or you can drag the RAW file on Photoshop. ACR will open and you can do any edit you want. If editing the point curve is all you wanted, click on "Done". Now go back to Lightroom and for the image, select "read metadata from file" from the metadata menu. Lightroom will read in the new recipe in the xmp sidecar and update your image, including the point curve! You can only not edit it in Lightroom, but it will use it just fine.

  • How to refresh/apply column value default setting on current files or folders

    Hi All
    I have set-up default column data per folder in my library (via
    Library Settings > Column default settings) and it works great for new documents or folders that are added to the library.
    But what do I do if I have an existing Library with folders and files and need to apply default column data to each? Is there a way of "refreshing" the default columns so that the data is populated through a specific folder and/or its sub-folders?
    (I really hope this is an easy fix or just a setting that I over-looked somewhere!)
    Thank you!

    I had to do this as well recently, and remembered your post.
    Here is the function I wrote , this worked for text, choice, and metadata columns
    It is pretty slow and could be optimized and broken up into more functions, but I had to do several things:
    1. I mass-updated the content types in a library
    2. On Library settings : set default values and also different defaults per folder
    3. For each file I then needed to:
    3.a. either copy the value from a column in the old content type to the new, or
    3.b. set the column to the default
    so this function does step 3, like I said it works for certain types of columns and can be sped up (I used it to update 700 files in a couple minutes), and it makes some assumptions about the environment but this at least is a starting point.
    As Alex said you may want to change SystemUpdate($true) to just Update(), depending on your requirements.
    <#
    .SYNOPSIS
    Resets columns in a document library to defaults for blank columns. Use this
    after changing the content types or adding columns to a doc lib with existing files
    .DESCRIPTION
    Resets columns in a doc lib to their defaults. Will only set them if the columns are blank (unless overridden)
    Will also copy some values from one column to another while you are there.
    Can restrict the update to a subset of columns, or have it look for all columns with defaults.
    Will use the list defaults as well as folder defaults.
    All names of columns passed in should use InternalName.
    This has ONLY been tested on Text, Choice, Metadata, and mult-Choice and Mult-Metadata columns
    Pass in a list and it will recursively travel down the list to update all items with the defaults for the items in that folder.
    If you call it on a folder, it will travel up the tree of folders to find the proper defaults
    Author:
    Chris Buchholz
    [email protected]
    @plutosdad
    .PARAMETER list
    The document library to update. Using this parameter it will update all files in the doc lib
    .PARAMETER folder
    The folder containing files to update. Function will update all files in this folder and subfolders.
    .PARAMETER ParentFolderDefaults
    Hashtable of internal field names as KEY, and value VALUE, summing up all the parent folders or list defaults.
    If not supplied, then the function will travel up the tree of folders to the parent doclib to determine
    the correct defaults to apply.
    If the field is managed metadata, then the value is a string
    Currently only tested for string and metadata values, not lookup or date
    .PARAMETER termstore
    The termstore to use if you are going to update managed metadata columns, this assumes we are only using the one termstore for all columns to update
    If you are using the site collection specific termstore for some columns you want to update, and
    the central termstore for others, then you should call this method twice, once with each termstore,
    and specify the respective columns in fieldsToUpdate
    .PARAMETER fieldsToCopy
    Hashtable of internal field names, where KEY is the "to" field, and VALUE is the "from" field
    Use this to copy values from one field to another for the item.
    These override the defaults, and also cause the "from" (Value) fields to NOT be overwritten with defaults even if
    they are in the fieldsToUpdate array.
    Example: @{"MyNewColumn" = "My_x0020_Old_x0020_Column"}
    .PARAMETER fieldsToUpdate
    If supplied then the method will update only the fields in this array to their default values, if null then it will update
    all fields that have defaults.
    If you pass in an empty array, then this method will only copy fields in the fieldtocopy and not
    apply any defaults
    Example: @() - to only copy and not set any fields to default
    Example2: @('UpdateField1','UpdateField2') will
    .EXAMPLE
    Set-SPListItemValuesToDefaults -list $list -fieldsToCopy @{"MyNewColumn" = "My_x0020_Old_x0020_Column"} -fieldsToUpdate @() -overwrite -termStore $termStore
    This will not set any defaults, but instead only set MyNewColumn to non null values of My_x0020_Old_x0020_Column
    It will overwrite any values of MyNewColumn
    .EXAMPLE
    Set-SPListItemValuesToDefaults -list $list -overwrite
    This will set all columns to their default values even if they are filled in already
    .EXAMPLE
    Set-SPListItemValuesToDefaults -folder $list.RootFolder.SubFolder[3].SubFolder[5]
    This will set all columns to their defaults in the given subfolder of a library
    .EXAMPLE
    Set-SPListItemValuesToDefaults -list $list -fieldsToUpdate @('ColumnOneInternalName','ColumnTwoInternalName')
    This will set columns ColumnOneInternalName and ColumnTwoInternalName to their defaults for all items where they are currently null
    .EXAMPLE
    Set-SPListItemValuesToDefaults -list $list -fieldsToCopy @{"MyNewColumn" = "My_x0020_Old_x0020_Column"} -fieldsToUpdate @("MyNewColumn") -termStore $termStore
    This will set all MyNewColumn values to their default, and then also copy the values of My_x0020_Old_x0020_Column to MyNewColumn where the old column is not null,
    but both of these will only happen for items where MyNewColumn is null
    .EXAMPLE
    Set-SPListItemValuesToDefaults -list $list -fieldsToCopy @{"MyNewColumn" = "My_x0020_Old_x0020_Column"} -termStore $termStore
    This will set ALL columns with defaults to the default value (if the item's value is null),
    except for My_x0020_Old_x0020_Column which will not be modified even if it has a default value, and will also set MyNewColumn to the
    value of My_x0020_Old_x0020_Column if the old value is not null
    #>
    function Set-SPListItemValuesToDefaults {
    [CmdletBinding(SupportsShouldProcess=$true)]
    param(
    [Parameter(Mandatory=$true,ValueFromPipeline=$true,ParameterSetName="List")][Microsoft.SharePoint.SPList]$list,
    [Parameter(Mandatory=$true,ValueFromPipeline=$true,ParameterSetName="Folder")][Microsoft.SharePoint.SPFolder]$folder,
    [Parameter(Mandatory=$false,ParameterSetName="Folder")][HashTable]$ParentFolderDefaults,
    [Parameter(Mandatory=$false)][HashTable]$fieldsToCopy,
    [Parameter(Mandatory=$false)][Array]$fieldsToUpdate,
    [Parameter(Mandatory=$false)][Microsoft.SharePoint.Taxonomy.TermStore]$termStore,
    [Switch]$overwrite,
    [Switch]$overwriteFromFields
    begin {
    #one or both can be null, but if both empty, then nothing to do
    if ($null -ne $fieldsToUpdate -and $fieldsToUpdate.Count -eq 0 -and
    ( $null -eq $fieldsToCopy -or $fieldsToCopy.Count -eq 0)) {
    Write-Warning "No fields to update OR copy"
    return
    if ($PSCmdlet.ParameterSetName -eq "Folder") {
    $list = $folder.DocumentLibrary
    if ($null -eq $termStore ) {
    $taxonomySession = Get-SPTaxonomySession -site $list.ParentWeb.Site
    $termStores = $taxonomySession.TermStores
    $termStore = $termStores[0]
    #if we did not pass in the parent folder defaults then we must go backward up tree
    if ($PSCmdlet.ParameterSetName -eq "Folder" -and $null -eq $ParentFolderDefaults ) {
    $ParentFolderDefaults = @{}
    if ($null -eq $fieldsToUpdate -or $fieldsToUpdate.Count -gt 0) {
    write-Debug "ParentFolderDefaults is null"
    $tempfolder=$folder.ParentFolder
    while ($tempfolder.ParentListId -ne [Guid]::Empty) {
    Write-Debug "at folder $($tempfolder.Url)"
    $pairs = $columnDefaults.GetDefaultMetadata($tempfolder)
    foreach ($pair in $pairs) {
    if (!$ParentFolderDefaults.ContainsKey($pair.First)) {
    Write-Debug "Folder $($tempfolder.Name) default: $($pair.First) = $($pair.Second)"
    $ParentFolderDefaults.Add($pair.First,$pair.Second)
    $tempfolder = $tempfolder.ParentFolder
    #listdefaults
    Write-Debug "at list"
    foreach ($field in $folder.DocumentLibrary.Fields) {
    if ($field.InternalName -eq "_ModerationStatus") { continue }
    #$field = $list.Fields[$name]
    if (![String]::IsNullOrEmpty($field.DefaultValue)) {
    #Write-Verbose "List default found key $($field.InternalName)"
    if (!$ParentFolderDefaults.ContainsKey($field.InternalName)) {
    Write-Debug "List Default $($field.InternalName) = $($field.DefaultValue)"
    $ParentFolderDefaults.Add($field.InternalName,$field.DefaultValue)
    process {
    Write-Debug "Calling with $($PSCmdlet.ParameterSetName)"
    Write-Debug "Parent folder hash has $($ParentFolderDefaults.Count) items"
    if ($PSCmdlet.ParameterSetName -eq "List" ) {
    $folder = $list.RootFolder
    $ParentFolderDefaults=@{}
    if ($null -eq $fieldsToUpdate -or $fieldsToUpdate.Count -gt 0) {
    foreach ($field in $list.Fields) {
    if ($field.InternalName -eq "_ModerationStatus") { continue }
    if (![String]::IsNullOrEmpty($field.DefaultValue)) {
    Write-Debug "List Default $($field.InternalName) = $($field.DefaultValue)"
    $ParentFolderDefaults.Add($field.InternalName,$field.DefaultValue)
    Write-Verbose "At folder $($folder.Url)"
    $FolderDefaults=@{}
    $FolderDefaults += $ParentFolderDefaults
    if ($null -eq $fieldsToUpdate -or $fieldsToUpdate.Count -gt 0) {
    $pairs = $columnDefaults.GetDefaultMetadata($folder)
    foreach ($pair in $pairs) {
    if ($FolderDefaults.ContainsKey($pair.First)) {
    $FolderDefaults.Remove($pair.First)
    Write-Debug "Folder $($folder.Name) default: $($pair.First) = $($pair.Second)"
    $FolderDefaults.Add($pair.First,$pair.Second)
    #set values
    foreach ($file in $folder.Files) {
    if ($file.CheckOutType -ne [Microsoft.SharePoint.SPFile+SPCheckOutType]::None) {
    Write-Warning "File $($file.Url).CheckOutType = $($file.CheckOutType)) ... skipping"
    continue
    $item = $file.Item
    $ItemDefaults=@{}
    $ItemDefaults+= $FolderDefaults
    #if we only want certain fields then remove the others
    #Move this to every time we add values to the defaults
    if ($null -ne $fieldsToUpdate ) {
    $ItemDefaults2=@{}
    foreach ($fieldInternalName in $fieldsToUpdate) {
    try {
    $ItemDefaults2.Add($fieldInternalName,$ItemDefaults[$fieldInternalName])
    } catch { } #who cares if not in list
    $ItemDefaults = $ItemDefaults2
    #do not overwrite already filled in values unless specified
    if (!$overwrite) {
    $keys = $itemDefaults.Keys
    for ($i=$keys.Count - 1; $i -ge 0; $i-- ) {
    $key=$keys[$i]
    try {
    $val =$item[$item.Fields.GetFieldByInternalName($key)]
    if ($val -ne $null) {
    $ItemDefaults.Remove($key)
    } catch {} #if fieldname does not exist then ignore, we should check for this earlier
    #do not overwrite FROM fields in copy list unless specified
    if (!$overwriteFromFields) {
    if ($null -ne $fieldToCopy -and $fieldsToCopy.Count -gt 0) {
    foreach ($value in $fieldsToCopy.Values) {
    try {
    $ItemDefaults.Remove($value)
    } catch {} #who cares if not in list
    #do not overwrite TO fields in copy list if we're going to copy instead
    if (!$overwriteFromFields) {
    if ($null -ne $fieldToCopy -and $fieldsToCopy.Count -gt 0) {
    foreach ($key in $fieldsToCopy.Keys) {
    $fromfield = $item.Fields.GetFieldByInternalName($fieldsToCopy[$key])
    try {
    if ($null -ne $item[$fromfield]) {
    $ItemDefaults.Remove($key)
    } catch {} #who cares if not in list
    Write-Verbose $item.Url
    $namestr = [String]::Empty
    if ($ItemDefaults.Count -eq 0) {
    write-Verbose "No defaults, copy only"
    } else {
    $str = $ItemDefaults | Out-String
    $namestr += $str
    Write-Verbose $str
    if ($null -ne $fieldsToCopy -and $fieldsToCopy.Count -gt 0) {
    $str = $fieldsToCopy | Out-String
    $namestr +=$str
    if ($PSCmdlet.ShouldProcess($item.Url,"Set Values: $namestr"))
    #defaults
    if ($null -ne $ItemDefaults -and $ItemDefaults.Count -gt 0) {
    foreach ($key in $ItemDefaults.Keys) {
    $tofield = $item.Fields.GetFieldByInternalName($key)
    if ($tofield.TypeAsString -like "TaxonomyFieldType*") {
    $taxfield =[Microsoft.SharePoint.Taxonomy.TaxonomyField]$tofield
    $taxfieldValue = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValue($tofield)
    $lookupval=$ItemDefaults[$key]
    $termval=$lookupval.Substring( $lookupval.IndexOf('#')+1)
    $taxfieldValue.PopulateFromLabelGuidPair($termval)
    if ($tofield.TypeAsString -eq "TaxonomyFieldType") {
    $taxfield.SetFieldValue($item,$taxfieldValue)
    } else {
    #multi
    $taxfieldValues = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection $tofield
    $taxfieldValues.Add($taxfieldValue)
    $taxfield.SetFieldValue($item,$taxfieldValues)
    } else {
    $item[$field]=$ItemDefaults[$key]
    #copyfields
    if ($null -ne $fieldsToCopy -and $fieldsToCopy.Count -gt 0) {
    #$fieldsToCopy | Out-String | Write-Verbose
    foreach ($key in $fieldsToCopy.Keys) {
    $tofield = $item.Fields.GetFieldByInternalName($key)
    $fromfield = $item.Fields.GetFieldByInternalName($fieldsToCopy[$key])
    if ($null -eq $item[$fromfield] -or ( !$overwrite -and $null -ne $item[$tofield] )) {
    continue
    if ($tofield.TypeAsString -eq "TaxonomyFieldType" -and
    $fromfield.TypeAsString -notlike "TaxonomyFieldType*" ) {
    #non taxonomy to taxonomy
    $taxfield =[Microsoft.SharePoint.Taxonomy.TaxonomyField]$tofield
    $termSet = $termStore.GetTermSet($taxfield.TermSetId)
    [String]$fromval = $item[$fromfield]
    $vals = $fromval -split ';#' | where {![String]::IsNullOrEmpty($_)}
    if ($null -ne $vals -and $vals.Count -ge 0 ) {
    $val = $vals[0]
    if ($vals.Count -gt 1) {
    write-Warning "$($item.Url) Found more than one value in $($fromfield.InternalName)"
    continue
    $terms =$termSet.GetTerms($val,$true)
    if ($null -ne $terms -and $terms.Count -gt 0) {
    $term = $terms[0]
    $taxfield.SetFieldValue($item,$term)
    Write-Verbose "$($tofield.InternalName) = $($term.Name)"
    } else {
    Write-Warning "Could not determine term for $($fromfield.InternalName) for $($item.Url)"
    continue
    } elseif ($tofield.TypeAsString -eq "TaxonomyFieldTypeMulti" -and
    $fromfield.TypeAsString -notlike "TaxonomyFieldType*" ) {
    Write-Debug "we are here: $($item.Name): $($fromfield.TypeAsString) to $($tofield.TypeAsString )"
    #non taxonomy to taxonomy
    $taxfield =[Microsoft.SharePoint.Taxonomy.TaxonomyField]$tofield
    $termSet = $termStore.GetTermSet($taxfield.TermSetId)
    $taxfieldValues = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection $tofield
    [String]$fromval = $item[$fromfield]
    $vals = $fromval -split ';#' | where {![String]::IsNullOrEmpty($_)}
    foreach ($val in $vals){
    $terms =$termSet.GetTerms($val,$true)
    if ($null -ne $terms -and $terms.Count -gt 0) {
    $term=$terms[0]
    $taxfieldValue = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValue($tofield)
    $taxfieldValue.TermGuid = $term.Id.ToString()
    $taxfieldValue.Label = $term.Name
    $taxfieldValues.Add($taxfieldValue)
    } else {
    Write-Warning "Could not determine term for $($fromfield.InternalName) for $($item.Url)"
    continue
    #,[Microsoft.SharePoint.Taxonomy.StringMatchOption]::ExactMatch,
    $taxfield.SetFieldValue($item,$taxfieldValues)
    $valsAsString = $taxfieldValues | Out-String
    Write-Debug "$($tofield.InternalName) = $valsAsString"
    } elseif ($tofield.TypeAsString -eq "TaxonomyFieldTypeMulti" -and
    $fromfield.TypeAsString -eq "TaxonomyFieldType" ) {
    #single taxonomy to multi
    $taxfieldValues = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection $tofield
    $taxfield =[Microsoft.SharePoint.Taxonomy.TaxonomyField]$tofield
    $taxfieldValues.Add($item[$fromfield])
    $taxfield.SetFieldValue($item,$taxFieldValues)
    Write-Verbose "$($tofield.InternalName) = $valsAsString"
    } elseif ($tofield.TypeAsString -eq "TaxonomyFieldType" -and
    $fromfield.TypeAsString -eq "TaxonomyFieldTypeMulti" ) {
    #multi taxonomy to single taxonomy
    Write-Warning "multi to non multi - what to do here"
    continue
    } elseif ($tofield.TypeAsString -eq "Lookup" -and
    $fromfield.TypeAsString -ne "Lookup" ) {
    #non lookup to lookup
    Write-Warning "non lookup to lookup - still todo"
    continue
    } else {
    #straight copy
    $item[$tofield] = $item[$fromfield]
    $item.SystemUpdate($false)
    $folders = $folder.SubFolders | where name -ne "Forms"
    $folders | Set-SPListItemValuesToDefaults -ParentFolderDefaults $FolderDefaults -fieldsToCopy $fieldsToCopy -fieldsToUpdate $fieldsToUpdate -overwrite:$overwrite -overwriteFromFields:$overwriteFromFields -termStore $termStore

  • How can I apply Brightness​, Contrast, Saturation​, etc on an color Image or Picture?

    I am using IMAQ to open an existing color jpeg file, and perform operations on it. I would like to be able to change the brightness, contrast, saturation, etc. similarly to what can be done to an IMAQ Session via a property node. I've seen examples for grayscale, but not for color? Anyone have ideas / examples?
    Thanks,
    Tim

    I found it -- IMAQ ColorBCGLookup.vi if others are interested.

  • How to get the number of pages in a PDF file with AcroPDF ActiveX control

    Hi,
    I am using the AcroPDF ActiveX control provided by Acrobat Reader and Professionals(version 9). I just wonder if I using LoadFile to load a PDF document, how can I know the number of pages in that PDF? I do not find any properites or methods that can do that.
    Thanks
    Alan

    Hi unk2,
    There's no functionality in the Acrobat.com online services to do a character count. But, you could use ExportPDF to convert your PDF file to Word format, and then do your character count in Word.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • Powershell: How to change the header name in a imported CSV file

    HI All,
    I have a csv file in which I want to change the headers names in powershell.
    oldnames are name,id
    newnames I want to give are: company and transit respectively.
    Following is what I wrote in script:
               $a = import-csv .\finalexam\employees.csv -header name,id'
                       foreach ($a in $as[1-$as.count-1])  // I used 1 here because I want it to ignore the  exiting headers.
                      { $_.name -eq company, $_.id -eq transit}
    I think this not entirely correct way to do this. Can someone show me how to fix this.
    Regards
    SQL 75

    If you're not an experienced PowerShell programmer, I recommend editing the file in a text editor and changing the name that way.
    -- Bill Stewart [Bill_Stewart]

  • How can I use Lightroom 5.7 to import RAW files (.arw) from my new Sony Alpha 7 ll?

    When I try to import, I get a "Preview Not Available for this File" message.
    I thought LR 5.7 would contain a Camera RAW converter.  If not, when?
    Please help  me....

    Support was provided in record time with the LR 5.7.1 update.
    Profiles for new camera models can only commence being created after the camera has been released to the market.
    See the link below.
    Lightroom Journal | Tips and advice straight from the Lightroom team.

  • How to use iWeb to continue editing newly imported html files?

    I've reinstalled my Mac installation without backing up the files for my site. Is there anyway I can download the files of the server and then make them editable in iWeb?

    No. iWeb has no import facility, so if you don't have your domain.sites file then you will have to re-build your site from scratch.
    Also, before posting, search the forum - a post on exactly the same topic as this has just been answered directly above.

  • How to apply image texture to imported shape

    This is regarding applying am image texture to an object.
    I am able to apply an image texture to a Sphere.
    Sphere mySphere = new Sphere(1.0f, Sphere.GENERATE_NORMALS | Sphere.GENERATE_TEXTURE_COORDS, 10,appear);
    objRoot.addChild(mySphere);
    But when i import a model from a file(.obj), and apply the texture to the imported objects,
    the image is not displayed as texture but a color similar to the image is displayed.
    How to apply image texture to imported objects?

    Mylenium, thanks for your response but unfortunately I'm still missing something here. I have two problems:
    1. I don't understand how to size the logo to only cover a small portion of the golf ball. Because of the other problem I'll describe in 2) below, I simplified my test by trying this on a basic PS sphere. I loaded the logo image into the diffuse texture but it wraps the sphere. I tried editing the texture thinking I could fix it by using Transform scale, but that is greyed out. So, how do I cause the logo to apply to a small portion of the surface (as a traditional golf ball logo would appear)?
    2. Perhaps the bigger issue here is when I attempt to do this with the golf ball 3ds model instead of the PS sphere, the wrapped logo appears to be sitting somewhere between the outer surface of the ball and the inner core. In other words, the wrapped logo has a very sporadic appearance where it shows up in some dimples but not others. It isn't just applying to the surface of the ball. Thinking this might have been a problem with the .3ds model I acquired an .obj golf ball from a different source but it exhibited exactly the same problem.
    I'm experienced with PS and 3D in a couple of other programs, but new to 3D in PS. I appreciate your help with this.
    Jerry

  • Noob Question - Applying a texture to text layer

    I've tried searching for the answer, but probably just don't know the right keywords to use, but how do I apply a texture (image) to only show up over a certain layer such as a text layer?  Meaning I want the texture to only show over the text and not anywhere else.

    Use the texture layer as a track matte for the text layer.

Maybe you are looking for

  • I ONLY want my music to transfer to my new iPod touch

    I just bought an iPod touch 5 gen and I have my iPod touch 4 gen backed up to iCloud. I only want to transfer my music to my new iPod. I don't want my apps pictures etc transferred, how do i do this? I also didn't buy my music, so does that matter?

  • Breaking one track into several fluidly

    I did a live recording all into one instrument track using the internal microphone on my Macbook. It sounds great, but I'm wanting to produce a CD from it and track each song individually. My problem, when I segment the show with garageband and then

  • Error-handling in form routines to be called from maintenance  view

    hello, i have created a table maint. dialog. Under 'enviroment->modification->events' you can create form-routines for your own coding. I have the maint.event '01 - Before saving the data in the database'. Here i do some checks if entered values in s

  • [Oracle 10g] How to show concurrent transactions during a period?

    Hello all, I used Oracle 10g database I try to select the number of concurrent transactions during a period. I know how to select the number of transactions executed in one day, but i want to know the concurrent transactions. Can you help me ? Thanks

  • Color Picker (Color Window) only shows "Crayons" in Pages...

    Greetings, In Pages '09, the color picker is now only showing the "Crayon" color picker. Earlier today, it let me choose Color Wheel, RGB, CMYK, and other pickers. It does not even show any of these other options in Pages! These other pickers are sti