How do I create a path based on the arc of a crescent?
I've created a crecsent by using the pathfinder and two circles. I also used the blend tool to create a line of evenly spaced, much smaller cirles. I want to create a path to use as a spline to align the series of small spheres evenly along a path that follows the inside arc of the crescent perfectly. I need to create a single path that follows the inside curve of the arc at a distance of, say, 0.1 inches all the way along so I can use that as a replacement spline. Unless there is a simpler method.
Thanks, that works great!
Another workaround that came to me last night was to create two circles on top of each other. Then I offset one and put H and V guides through it's center. I used the pathfinder on them to create the crescent. Then I made a small circle which I placed a certain distance from the top edge of what used to be the offset circle. Then I rotated a copy around the point which is the center of what used to be the offset circle. Then Crl+D until the arc is complete.
I prefer your method though because it leaves more editing options if I want to go back and change blend options on the arc of circles and also because my workaround only works if the inside arc was created with a perfect circle and not an oval.
Similar Messages
-
How can I create sub-arrays based on the positions of indicies in a separate index array?
Please forgive me if this question is basic or obvious. I am fairly new to LabVIEW and I'm trying to learn as I go along.
I have a 1D array of index values (the number of possible index values is not fixed, but can vary between uses of the application; it could be just {0, 1} on one day and {1, 5, 11, 678} on another) and a 1D array of measurement values (doubles). I'd like to parse the measurement values into sub-arrays for each index, so that if my index array was:
[0 1 1 1 1 5 5 0 5 5 1 0 1 1 5]
and my measurement array was:
[0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.10 0.11 0.12 0.13 0.14 0.15]
I would get back 3 sub-arrays:
[0.1 0.8 0.12]
[0.2 0.3 0.4 0.5 0.11 0.13 0.14]
[0.6 0.7 0.9 0.10 0.15]
I know there must be a simple way to do this, I guess I'm just stuck too much in matlab-array thinking to figure it out... please help!
-- jph
Solved!
Go to Solution.jamespherman wrote:
Thus, I figured it might be possible to generalize this idea and send multiple sets of XY values to an XY graph.
OK, all we need is a trivial modification of what we already have. XY graph data is easiest handled using complex data. Here's a quick rewrite. See if this works for you.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
SplitInGroupsGraph.vi 14 KB -
Unable to create a subsite based on the generic template - save site as a template
hi,
am using a save site as a template functionality to create a sub site. when i select the custom template, and click on ok button,am getting server error in appln.
in the site template i have
1) 2 document libraries with permissions broken[ stop inheritance]
2) 4 Groups created L1, L2,L3,L4
am stuck with , how to proceed/ create a subsite based on the template site
note i have uploaded the wsp file in the new site collection and activated it . ma getting the custom site template name in the tab.
would like to get clarification about the custom permissions:
if i break the permissions on the document libraries, will this sec.permissions be intact, [ not changed] as the orginal ? i mean if i broke the permissions, in the newly created subsite also, will the permissions be broken? i need this broken functionality
as per my requirement.
help is highly appreciated!
Dashi,
am not bale to get the correlation id. am getting server error in application. yellow page error!!
and regarding the permissions i have checked this blog
http://sergeluca.wordpress.com/2011/06/02/sharepoint-2010-save-as-template-what-is-saved-what-is-not-saved/
Serge says that, if i am not wrong,
we cant perform stop inherit the permissions for the doc lib and create a sub site based on this site template.
also if i stop inheriting from site permissions also.
can anyone from MSFT, pls confirm this. or any msd doc says about this.
Das -
How to create a record based on the name of a file in the file-system?
Hi,
With a lot of pictures I want to have a database to gather some information about these pictures.
First question is how to generate a record based on a file in the file system?
e.g. the pictures are "c:\fotos\2009\01\disc_001.jpg" to "c:\foto\2009\01\dis_98.jpg" .
now i want to create records with as one of the attributes the name of the picture (not the picture itself). how to create these records (based on the information of the file-ssytem). i.e. the number of records should be the same as the number of pictures.
any suggestions?
any reaction will be appreciated.
LeoLink to Create directory
http://www.adp-gmbh.ch/ora/sql/create_directory.html
You can create a list of files in the directory and read the list files from that directory.
[UTL_FILE Documentation |http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/u_file.htm#996728]
[Solution using Java|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584]
SS -
How to create activity workflow based on the Web API 2 services
Hi,
We have Web API 2 services and we want create activity workflow based on the Web API 2 services.
Web API 2 services provide some application operations and based on this operations we would like to create custom activity workflow.
Question:
Is that possible?
Could you please give best practices to create activity workflow based on the Web API 2 services ?
Thanks for your support.HI Max_P,
Welcome to workflow forum.
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
I researched relevant topic about creating workflow application using Web API 2, I just found these resources about it.
Learn About ASP.NET Web API
Hope it helps.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
APEX How do I create a Form based on a Database Table from other schema
My APEX schema is WISEXP. I have a database table that resides in WISDW schema on the same database. I want to create Tabular form based on this table.
I am not able to create a FORM based on the table from WISDW schema. I am able to create a FORM based on SQL though from this table in WISDW schema - but it does not do any action on Update/Insert rows.
Appropriate Synonyms and grants are created. Is there a limitation or am I missing something? Please advise.
thanks
RupenIf Rupen is using 2.2 or 2.2.1, it is likely he is running into the bug described here: Re: Workspace to Schema Assignments
In that case, it may be a necessary and sufficient workaround to assign the foreign schema to the workspace.
Scott
Message was edited by:
sspadafo -
How to configuration of pricing procedure based on the Region
Hi,
please help me how to configuration of pricing procedure based on the Region in the roll out project.
Thanks
mustafaWhat I proposed to do was,
a. Create routes like 0 day route, 1 Day route, 2 day route etc.
b. Route determination is based on the Shipping condition of the customer. Put in the shipping condition for the customer as 00 - immediate delivery. 01 - By Truck, 02 - By Rail, 03 - Ship etc
c. Now, put in your route determination in such a way that routes change in the sales order with shipping condition (SC). Like, if the shipping condition is set to 00, then 0 day route comes up. Meaning immediate delivery, if SC is 01, then your normal route by truck picks up. etc.
When the sales order is manually created, you know the time of creation. As route is one of the criteria, the material confirmation happens based on number of days you put in the route to reach the destination. Now that you have the material available for today's delivery, the delivery program can be run to create it, or it can be manually created.
Now, when you configure the route you have to specify 'Transit duration in calendar days'.
When you have the sales order created electronically (say thru EDI), then, you may have to ask them to send in shipping condition. Else, you have to modify the function module Idoc_input_orders in such a way that if the sales order creation time is < 12 PM, then put shipping condition as 00, else copy what ever is there in the customer.
If you do not want to check the time manually when the user creates the sales order, then you may have to use the user exit MV45AFZZ (and I think you can use Save_order_prepare) to check the time and change the shipping condition. By this you will avoid extra coding in Idoc_input_orders and also need not bother if the user changed the route or not.
Hope my explanation helps.
Regards,
Mukund S -
Is there a way to create a collection based on the "previous import"?
is there a way to create a collection based on the "previous import"? that would make it easy to mobile sync the last import to my ipad, and do further picking/rejecting while away from my laptop.
well, yes, of course i could do it that way. i guess i wasn't specific enough. is there a way to create a smart collection, with the photos in the "previous import" as members of the smart collection. earlier i mentioned about using this smart collection to mobile sync with my ipad, to do further flagging.
so my intention, use a smart collection to mobile sync with my ipad, and the smart collection to include the photos from my previous import.
i guess another way to ask the question, is there a way to create a smart collection, by using some rule or condition in the smart collection, to automatically include previous import photos.
the documentation says that "previous import" is a collection, even though it shows up in the catalogue side bar section. but i see no way to choose that collection when making a smart collection.
jd -
How can i create multiple accounts but use the same itunes?
how can i create multiple accounts but use the same itunes?
Hi iCloud is Making Me Go Crazy,
You will need to create a new Apple ID for your GameCenter and iCloud services. You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish.
Using your Apple ID for Apple services
http://support.apple.com/kb/HT4895
Frequently asked questions about Apple ID
http://support.apple.com/kb/HT5622
Cheers,
- Judy -
Each year for the past 5 years I make a family calendar and send copies to all he family members around the globe. I hate that I have to recreate all the birthdays and special occasions from scratch, and re-drag all the photos onto these dates, in the lower half of the page of each month on the new calendar. How can I create a new calendar for the current year and port all of these photos/comments into the new calendar from last years calendar, to save having to redo all this work!! I am not talking about the upper half page of the photos only...I am referring to the calendar page of each month.
Thanks in advance.
ColinWelcome to the Apple Discussions. Open iWeb so you see your original site in the left hand pane. Use the File->New Site menu option to create a new site. Give it the name you want.
Now select a page in your original site and type Command+D. That will duplicate the page. Drag the duplicate page down to the new site and rename it as needed. Do that for the other pages you need in the original site.
OT -
How can i create a new item in the app "health"?
how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.
-
How do I create a Public Group on the Calendar Server?
How do I create a Public Group on the Calendar Server?
<P>
Anyone can create Private Groups or Member Only Groups. You must be given
administrative rights to create Public Groups on the Calendar Server. The
Calendar Server Admin (SYSOP) can give anyone rights to create Public Groups by
using the uniadmrights tool.
<P>
Go to /users/unison/bin/
and run the uniadmrights
tool. Some sample syntax:
<P>
To list all users with administrative rights:<P>
% uniadmrights -ls -host yourhostname
<P>
To give John Smith, a user on node 10000, rights to administer Public Groups:<P>
% uniadmrights -e "S=Smith/G=John" -add -pgrp -n 10000
<P>
In Calendar Server 4.0, you also have the option of using the Admin Server GUI
to assign Administrative
rights (instead of using the command-line method) by going to User Management,
Administration Rights.
<P>
With the proper administrative rights, log into the Calendar Client. Go to Options,
Manage Groups to create a new group. Choose PUBLIC from the dropdown window,
add your users and/or resources and click OK to create the Public Group which
can be seen by all users on the local Calendar Server.The following is info that I found in another post that I have been trying to follow.
MrHoffman New England
Re: Configure DNS - OS X Server Next Steps
Feb 13, 2011 6:36 AM (in response to Jimbooooooo)
You're setting up internal DNS services, you referenced your ISP DNS servers and you should not have, and now those servers have no translations for your hosts. This is a common misconfiguration.
See [configuring DNS on Mac OS X Server|http://labs.hoffmanlabs.com/node/1436] for how to set up your internal DNS server.
And if there are any references to your ISP DNS servers here (within your client settings, within your server settings, your Airport settings, etc), then you're usually going to have DNS and connectivity problems. You're running a server now, so you'll be running your own services, and (particularly because of NAT here) referencing only your own DNS server(s).
You may be setting up external DNS (if and when you need that), but that should happen after you set up your internal DNS. The above article has a link to setting up external DNS, when you get around to that, if/when you need in-bound connections into your LAN. -
How do i create a mail box in the SMTP server thru a java program
How do i create a mail box in the SMTP server thru a java program. If it is possible thru a java program.pls suggest a mail server compatible for the above possibility to work.
pls help ....Please let me know if it is not at all possible to
create a user account automatically thru a program
(java) in a mail server... how does yahoo work
then..does he manually add a user to the mail
server...By talking to a web server not a mail server.
>
Is not there any mail server that will allow us to
create mailboxes for my java program.. how do the
other web account services work..
As I said mail servers do have management interfaces. You need to find one and then determine what the management interface is. -
How do I create a filter that bypasses the in page and goes directly to spam rather to delete?
How do I create a filter that bypasses the in page and goes directly to spam rather than to delete?
From your question I'm going to guess you are talking about Mac Mail.
If you are talking about a RULE then the "Perform the following actions:" would be to select "Move Message" to mailbox "Junk" instead of "Delete Message."
If you are talking about something else then please give more information. -
How do I create a context menu in the new CL_SALV
I like a function xx in context menu. How do I create a context menu in the CL_SALV ?
thank you!
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
TYPES: t_proc TYPE zmp_c00_pr_d,
tt_proc TYPE STANDARD TABLE OF t_proc,
tt_proces_subpr TYPE TABLE OF ltyp_proces_subpr.
CLASS-DATA: lr_context TYPE REF TO cl_gui_alv_grid,
r_selections TYPE REF TO cl_salv_selections,
lr_menu type ref to cl_ctmenu.
CLASS-METHODS: main CHANGING ct_zmp_c00_pr_d TYPE tt_proc
ct_proces_subpr TYPE tt_proces_subpr
cv_screen TYPE i.
PRIVATE SECTION.
CLASS-DATA lt_zmp_c00_pr_d TYPE TABLE OF zmp_c00_pr_d.
CLASS-DATA ls_process TYPE zmp_c00_pr_d.
CLASS-METHODS: handle_double_click
FOR EVENT double_click OF cl_salv_events_table
IMPORTING row column,
detail
IMPORTING l_objkey TYPE zmp_c00_pr_d-objkey.
ENDCLASS. "lcl_events DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD main.
DATA: lr_alv TYPE REF TO cl_salv_table,
lr_events TYPE REF TO cl_salv_events_table,
lr_columns TYPE REF TO cl_salv_columns,
lt_col_tab TYPE salv_t_column_ref.
FIELD-SYMBOLS <column> LIKE LINE OF lt_col_tab.
IF r_container IS INITIAL.
CREATE OBJECT r_container
EXPORTING
container_name = 'CONTAINER'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE i004(z_pm_tool).
ENDIF.
*Für Dynpro 1400
IF cv_screen = '1400'.
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
* list_display = IF_SALV_C_BOOL_SAP=>FALSE
r_container = r_container
IMPORTING
r_salv_table = r_alv
CHANGING
t_table = ct_proces_subpr.
CATCH cx_salv_msg .
ENDTRY.
TRY.
* zeige die Daten
r_alv->display( ).
IF sy-subrc NE 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
ENDIF.
* Für Dynpro 1100
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
* list_display = IF_SALV_C_BOOL_SAP=>FALSE
r_container = r_container
IMPORTING
r_salv_table = r_alv
CHANGING
t_table = ct_zmp_c00_pr_d .
CATCH cx_salv_msg .
ENDTRY.
TRY.
* zeige die Daten
r_alv->display( ).
IF sy-subrc NE 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
*Ereignisobjekt holen
lr_events = r_alv->get_event( ).
** get the SELECTIONS object
*r_selections = r_alv->get_selections( ).
* Interne-Tabelle füllen und an die Methode handle_double_click übergeben
LOOP AT ct_zmp_c00_pr_d INTO ls_process.
APPEND ls_process TO lt_zmp_c00_pr_d.
ENDLOOP.
* Zeiger auf Container für Kontexmenu
CREATE OBJECT lr_context
EXPORTING
i_parent = r_container.
DATA: lt_events TYPE cntl_simple_events.
CALL METHOD lr_context->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Interne-Tabelle füllen und an die Methode handle_double_click übergeben
LOOP AT ct_zmp_c00_pr_d INTO ls_process.
APPEND ls_process TO lt_zmp_c00_pr_d.
ENDLOOP.
* Event: Add Function
SET HANDLER: on_added_function FOR lr_events.
* Event: Kontexmenu
* SET HANDLER: on_context_menu_request FOR lr_context.
* Event: Doppelklick
SET HANDLER handle_double_click FOR lr_events.
* get the SELECTIONS object
r_selections = r_alv->get_selections( ).
* Einzelne Spalte holen
lr_columns = r_alv->get_columns( ).
* Doppelklick funktioniert nur auf das Feld OBJKEY
LOOP AT lt_col_tab ASSIGNING <column>.
<column>-r_column->set_output_length( 20 ).
IF <column>-columnname = 'OBJKEY'.
<column>-r_column->set_visible( 'X' ).
ELSE.
<column>-r_column->set_visible( ' ' ).
ENDIF.
ENDLOOP.
IF lt_col_tab IS NOT INITIAL AND sy-subrc <> 0.
MESSAGE i002(z_pm_tool).
ENDIF.
ENDIF.
ENDMETHOD. "main
METHOD handle_double_click.
FIELD-SYMBOLS <fs_zmp_c00_pr_d> TYPE zmp_c00_pr_d.
READ TABLE lt_zmp_c00_pr_d INDEX row ASSIGNING <fs_zmp_c00_pr_d>. " vor dem Changing Parameter der Klasse
* READ TABLE ct_zmp_c00_pr_d INDEX row ASSIGNING <fs_zmp_c00_pr_d>.
IF sy-subrc <> 0.
RETURN.
ENDIF.
IF column = 'OBJKEY'.
lcl_event_handler=>detail( <fs_zmp_c00_pr_d>-zz_slotid_a ).
ENDIF.
ENDMETHOD. "handle_double_click
METHOD detail.
DATA: lr_alv TYPE REF TO cl_salv_table,
lt_alv_tab TYPE TABLE OF zmp_p00_sp_d.
* Subprozess holen
SELECT * FROM zmp_p00_sp_d INTO TABLE lt_alv_tab
WHERE objkey = l_objkey.
IF sy-subrc <> 0.
MESSAGE i003(z_pm_tool).
ENDIF.
TRY.
* Neu erzeugte Instanz für ALV-Tabellenobjekt holen
cl_salv_table=>factory( IMPORTING r_salv_table = lr_alv
CHANGING t_table = lt_alv_tab ).
* Ausgabe Fenster für SubScreens
lr_alv->set_screen_popup( start_column = 1
end_column = 130
start_line = 1
end_line = 10 ).
* Anzeige der Daten
lr_alv->display( ).
IF sy-subrc <> 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
ENDMETHOD. "detail
ENDCLASS."lcl_event_handler IMPLEMENTATION
Edited by: polaris1 on Dec 15, 2010 12:18 PMCan't read that jumble, but suggest you look at the excellent SALV tutorials by Rich Heilman by searching for SALV tutorial on SCN. You'll find working code and how-to for adding your own functions to SALV.
Maybe you are looking for
-
How can I update my iPhone 3gs to iOS4, after iOS5 came out?
I am still running iOS 3 (1.3) on my iPhone 3GS and I'm happy with it - but all the new apps requires iOS4 and now I'm sick of this. I want iOS4 (and not iOS5, cause it will drain my battery as far as I've understood). How can I update my iPhone 3GS
-
Root/Totals item in FS Item hierarchy - not flipping properly
Hi all, can you point me towards a solution? I think I am missing something: in the hierarchy, but default the <b>Root/Totals Item</b> appears above the rest of the nodes. I need to display it on the bottom. I've gone to the DW Workbench and looked
-
X-FI ExtremeMusic Center-Speaker Prob
Hi, I've got Problem with my Creative X-FI ExtremeMusic Soundcard. I have a 5. Sound-System but it won't recognize my Center-Speaker for some reason. The Configures are set to 5. in the Creative Sound Options as well as in the Windows Audio Options.
-
Hi Im running OS X Tiger 10.4.2 Tiger came as an update DVD in the box along with my Mac Mini and I have since performed an "erase and install" version of tiger. When I load mac help nothing works. When I type spotlight or dashboard for example, the
-
Mapping a NUMBER(30) to a long?
Seems to me it doesn't make sense to map a NUMBER(30) to a java long type, but that's what it just did. Shouldn't you map that to a BigInteger?